Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001326/0.001326, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.002449/0.002449, allocations: 193.7 kB / 16.13 MB, free: 6.664 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.645/1.645, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.387/0.387, allocations: 39.94 MB / 309.3 MB, free: 9.676 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.2. 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.001404/0.001404, allocations: 63.91 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.156, allocations: 56.88 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.00347/0.1595, allocations: 1.712 MB / 435.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002841/0.1599, allocations: 115.6 kB / 435.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.1599, allocations: 3.938 kB / 435.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.197e-05/0.16, allocations: 15.92 kB / 435.6 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.1601, allocations: 27.77 kB / 435.7 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.1603, allocations: 19.98 kB / 435.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1605, allocations: 123.4 kB / 435.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.1606, allocations: 36.94 kB / 435.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.1607, allocations: 43.86 kB / 435.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/0.1608, allocations: 47.78 kB / 435.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.1608, allocations: 4 kB / 435.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.818e-05/0.1609, allocations: 8 kB / 435.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.1609, allocations: 23.91 kB / 436 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.99e-05/0.161, allocations: 59.73 kB / 436 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1611, allocations: 115.8 kB / 436.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1612, allocations: 0 / 436.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1612, allocations: 0 / 436.1 MB, free: 2.055 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1612, allocations: 0 / 436.1 MB, free: 2.055 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.0005884/0.1618, allocations: 411.3 kB / 436.5 MB, free: 1.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.1618, allocations: 8.031 kB / 436.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.1619, allocations: 12.84 kB / 436.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1621, allocations: 192.1 kB / 436.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1621, allocations: 12.61 kB / 436.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.1622, allocations: 12.38 kB / 436.8 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.1625, allocations: 129.6 kB / 436.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.1625, allocations: 192 / 436.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.1625, allocations: 7.938 kB / 436.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1625, allocations: 4 kB / 436.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1626, allocations: 67.83 kB / 437 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008024/0.1634, allocations: 0.5371 MB / 437.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1636, allocations: 89.08 kB / 437.6 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.1637, allocations: 33.89 kB / 437.6 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1637, allocations: 3.938 kB / 437.6 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.1637, allocations: 34.5 kB / 437.7 MB, free: 332 kB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1637, allocations: 0 / 437.7 MB, free: 332 kB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000676/0.1644, allocations: 313.5 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1645, allocations: 77.11 kB / 438.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.1646, allocations: 121.8 kB / 438.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1646, allocations: 29.64 kB / 438.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.1647, allocations: 123.7 kB / 438.3 MB, free: 15.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1648, allocations: 31.47 kB / 438.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.1648, allocations: 33.7 kB / 438.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.165, allocations: 326.8 kB / 438.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.166e-05/0.165, allocations: 20 kB / 438.7 MB, free: 15.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-05/0.1651, allocations: 88.52 kB / 438.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1653, allocations: 128.8 kB / 438.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1653, allocations: 0 / 438.9 MB, free: 14.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002758/0.1656, allocations: 167 kB / 439.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1656, allocations: 8 kB / 439.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1656, allocations: 0 / 439.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002127/0.1658, allocations: 45.89 kB / 439.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.816e-05/0.1659, allocations: 27.92 kB / 439.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.1682, allocations: 2.529 MB / 441.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.1683, allocations: 20.09 kB / 441.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1683, allocations: 4 kB / 441.7 MB, free: 11.81 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 0.0001073/0.1684, allocations: 137.7 kB / 441.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.1685, allocations: 7.984 kB / 441.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.1685, allocations: 11.91 kB / 441.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1685, allocations: 0 / 441.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1685, allocations: 0 / 441.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1685, allocations: 3.984 kB / 441.9 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1688, allocations: 209.3 kB / 442.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1688, allocations: 0 / 442.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.629e-05/0.1689, allocations: 19.98 kB / 442.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.381e-05/0.169, allocations: 33.7 kB / 442.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.169, allocations: 3.938 kB / 442.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.1714, allocations: 2.533 MB / 444.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1715, allocations: 4 kB / 444.7 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.1719, allocations: 308.3 kB / 445 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.1719, allocations: 89.2 kB / 445.1 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1719, allocations: 7.984 kB / 445.1 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.172, allocations: 4 kB / 445.1 MB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.1721, allocations: 8.031 kB / 445.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1721, allocations: 0 / 445.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.438e-05/0.1722, allocations: 99.27 kB / 445.2 MB, free: 7.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.603e-06/0.1722, allocations: 0 / 445.2 MB, free: 7.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004257/0.1726, allocations: 39.88 kB / 445.2 MB, free: 7.941 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.0001607/0.1728, allocations: 103.1 kB / 445.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.1733, allocations: 297.2 kB / 445.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1733, allocations: 3.938 kB / 445.6 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.1736, allocations: 265.8 kB / 445.9 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.1741, allocations: 27.78 kB / 445.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.1751, allocations: 0.4969 MB / 446.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.1755, allocations: 0.7122 MB / 447.1 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.336e-05/0.1755, allocations: 12.88 kB / 447.1 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.1755, allocations: 11.44 kB / 447.1 MB, free: 5.914 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.1755, allocations: 0 / 447.1 MB, free: 5.914 MB / 382.1 MB Notification: Performance of Templates: time 0.004479/0.18, allocations: 1.468 MB / 448.6 MB, free: 4.445 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1)