Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 107.3 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001059, allocations: 199 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.592/1.592, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3459/0.3459, allocations: 37.98 MB / 307.4 MB, free: 10.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 70.25 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1518, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002879/0.1547, allocations: 1.7 MB / 432.9 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002459/0.155, allocations: 119.5 kB / 433 MB, free: 5.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.1551, allocations: 4 kB / 433 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.05e-05/0.1551, allocations: 15.84 kB / 433 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.845e-05/0.1552, allocations: 31.77 kB / 433.1 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.1554, allocations: 23.98 kB / 433.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1555, allocations: 123.4 kB / 433.2 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.1556, allocations: 37.08 kB / 433.2 MB, free: 4.902 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.1557, allocations: 39.88 kB / 433.3 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.1558, allocations: 55.78 kB / 433.3 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1558, allocations: 8 kB / 433.3 MB, free: 4.801 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.1558, allocations: 8 kB / 433.4 MB, free: 4.793 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.1559, allocations: 27.91 kB / 433.4 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.1559, allocations: 55.73 kB / 433.4 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.1561, allocations: 127.9 kB / 433.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1561, allocations: 0 / 433.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1561, allocations: 3.938 kB / 433.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1561, allocations: 0 / 433.6 MB, free: 4.582 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004837/0.1566, allocations: 407.4 kB / 434 MB, free: 4.129 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1567, allocations: 11.89 kB / 434 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.1567, allocations: 16.75 kB / 434 MB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.1569, allocations: 188.2 kB / 434.2 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1569, allocations: 8.609 kB / 434.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.1569, allocations: 20.28 kB / 434.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.1572, allocations: 129.5 kB / 434.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1572, allocations: 192 / 434.3 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.1572, allocations: 15.92 kB / 434.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1572, allocations: 4 kB / 434.3 MB, free: 3.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1573, allocations: 59.91 kB / 434.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007067/0.158, allocations: 0.5373 MB / 434.9 MB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1582, allocations: 85.17 kB / 435 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.1582, allocations: 37.72 kB / 435.1 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.1582, allocations: 11.95 kB / 435.1 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1583, allocations: 34.56 kB / 435.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 2.234e-06/0.1583, allocations: 0 / 435.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005213/0.1588, allocations: 309.3 kB / 435.4 MB, free: 2.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1589, allocations: 77.11 kB / 435.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.642e-05/0.159, allocations: 125.8 kB / 435.6 MB, free: 2.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.159, allocations: 29.7 kB / 435.6 MB, free: 2.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.1591, allocations: 127.5 kB / 435.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.1591, allocations: 35.53 kB / 435.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1591, allocations: 25.72 kB / 435.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1593, allocations: 322.8 kB / 436.1 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.1593, allocations: 23.98 kB / 436.2 MB, free: 1.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.1594, allocations: 92.52 kB / 436.3 MB, free: 1.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1595, allocations: 120.5 kB / 436.4 MB, free: 1.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1595, allocations: 4 kB / 436.4 MB, free: 1.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002432/0.1597, allocations: 163.7 kB / 436.5 MB, free: 1.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1598, allocations: 8 kB / 436.5 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1598, allocations: 3.984 kB / 436.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.16, allocations: 41.64 kB / 436.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.1601, allocations: 23.98 kB / 436.6 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.1618, allocations: 2.726 MB / 439.3 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.1619, allocations: 20 kB / 439.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1619, allocations: 4 kB / 439.4 MB, free: 14.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.481e-05/0.162, allocations: 129.7 kB / 439.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.162, allocations: 7.906 kB / 439.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.1621, allocations: 11.84 kB / 439.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.1621, allocations: 4 kB / 439.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1621, allocations: 0 / 439.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1621, allocations: 11.98 kB / 439.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.1623, allocations: 193.6 kB / 439.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1623, allocations: 0 / 439.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.1624, allocations: 15.98 kB / 439.7 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.101e-05/0.1625, allocations: 37.64 kB / 439.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.1626, allocations: 15.86 kB / 439.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.1647, allocations: 2.722 MB / 442.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1647, allocations: 4.062 kB / 442.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.1651, allocations: 304.3 kB / 442.8 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1651, allocations: 85.02 kB / 442.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1652, allocations: 8.031 kB / 442.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.1653, allocations: 4 kB / 442.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.1653, allocations: 11.94 kB / 442.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1653, allocations: 0 / 442.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.626e-05/0.1654, allocations: 99.27 kB / 443 MB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1654, allocations: 0 / 443 MB, free: 10.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004197/0.1658, allocations: 39.88 kB / 443 MB, free: 10.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001476/0.166, allocations: 99.27 kB / 443.1 MB, free: 9.949 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005046/0.1665, allocations: 313.2 kB / 443.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1665, allocations: 0 / 443.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.1668, allocations: 253.3 kB / 443.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.1673, allocations: 39.8 kB / 443.7 MB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.1681, allocations: 0.5009 MB / 444.2 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1684, allocations: 0.7084 MB / 444.9 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.475e-05/0.1684, allocations: 4.891 kB / 444.9 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.1685, allocations: 11.44 kB / 445 MB, free: 8.027 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1685, allocations: 4 kB / 445 MB, free: 8.023 MB / 382.1 MB Notification: Performance of Templates: time 0.004015/0.1725, allocations: 1.523 MB / 446.5 MB, free: 6.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1)