Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01181/0.01181, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.701/1.701, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4094/0.4094, allocations: 40 MB / 310.7 MB, free: 9.922 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.0006461/0.0006462, allocations: 19.98 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1528, allocations: 57.97 MB / 437.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.002963/0.1558, allocations: 2.496 MB / 439.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1573, allocations: 0.7448 MB / 440.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/0.1577, allocations: 7.938 kB / 440.7 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.158, allocations: 43.64 kB / 440.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.1584, allocations: 107.1 kB / 440.8 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1587, allocations: 83.86 kB / 440.9 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.1593, allocations: 426.4 kB / 441.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.1596, allocations: 159 kB / 441.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002574/0.1598, allocations: 147.3 kB / 441.6 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1601, allocations: 171.2 kB / 441.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.1602, allocations: 20 kB / 441.8 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.673e-05/0.1602, allocations: 20 kB / 441.8 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1603, allocations: 59.7 kB / 441.9 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.1605, allocations: 208.7 kB / 442.1 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.1609, allocations: 422.6 kB / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1609, allocations: 0 / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.161, allocations: 0 / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.161, allocations: 0 / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009686/0.162, allocations: 0.6045 MB / 443.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.162, allocations: 8.031 kB / 443.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.1621, allocations: 40.47 kB / 443.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.1625, allocations: 296.4 kB / 443.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1625, allocations: 29.38 kB / 443.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.889e-05/0.1626, allocations: 36.38 kB / 443.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007216/0.1633, allocations: 397.3 kB / 443.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.1634, allocations: 7.844 kB / 443.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.1634, allocations: 16 kB / 443.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.1634, allocations: 11.98 kB / 443.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005115/0.164, allocations: 259.8 kB / 444.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.1657, allocations: 1.113 MB / 445.3 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.1662, allocations: 363.4 kB / 445.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.1665, allocations: 182.5 kB / 445.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1665, allocations: 4 kB / 445.8 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1666, allocations: 50.48 kB / 445.9 MB, free: 9.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.714e-06/0.1666, allocations: 3.938 kB / 445.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.003752/0.1703, allocations: 2.481 MB / 448.4 MB, free: 6.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.1704, allocations: 110.8 kB / 448.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.1707, allocations: 234.6 kB / 448.7 MB, free: 6.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.1707, allocations: 37.7 kB / 448.7 MB, free: 6.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.1708, allocations: 180.7 kB / 448.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.171, allocations: 201 kB / 449.1 MB, free: 5.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.1711, allocations: 45.7 kB / 449.1 MB, free: 5.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1712, allocations: 354.7 kB / 449.5 MB, free: 5.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/0.1715, allocations: 137 kB / 449.6 MB, free: 5.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.1719, allocations: 235.8 kB / 449.9 MB, free: 5.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.1725, allocations: 413.9 kB / 450.3 MB, free: 4.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1725, allocations: 0 / 450.3 MB, free: 4.684 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001038/0.1736, allocations: 0.5694 MB / 450.8 MB, free: 4.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.1736, allocations: 8 kB / 450.8 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1736, allocations: 4 kB / 450.8 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003603/0.174, allocations: 122.7 kB / 451 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.1744, allocations: 95.88 kB / 451.1 MB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2693/0.4437, allocations: 4.681 MB / 455.7 MB, free: 46.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.4441, allocations: 26.34 kB / 455.8 MB, free: 46.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.194e-05/0.4442, allocations: 15.06 kB / 455.8 MB, free: 46.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.4444, allocations: 168.6 kB / 455.9 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4445, allocations: 45.53 kB / 456 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.419e-05/0.4446, allocations: 47.91 kB / 456 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.4446, allocations: 9.25 kB / 456 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.4447, allocations: 3.625 kB / 456 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.4447, allocations: 6.188 kB / 456 MB, free: 46.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.4465, allocations: 1.341 MB / 457.4 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.4465, allocations: 3.031 kB / 457.4 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.4469, allocations: 98.48 kB / 457.5 MB, free: 46.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002546/0.4471, allocations: 98.47 kB / 457.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.4472, allocations: 13.06 kB / 457.6 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/0.4493, allocations: 4.117 MB / 461.7 MB, free: 42.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4493, allocations: 6.781 kB / 461.7 MB, free: 42.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4504, allocations: 0.9424 MB / 462.7 MB, free: 41.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.4505, allocations: 106.8 kB / 462.8 MB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.4506, allocations: 18.28 kB / 462.8 MB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.4508, allocations: 15.22 kB / 462.8 MB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.4509, allocations: 52.89 kB / 462.9 MB, free: 41.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.451, allocations: 19.14 kB / 462.9 MB, free: 41.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.4511, allocations: 177.6 kB / 463 MB, free: 41.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4511, allocations: 0 / 463 MB, free: 41.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007482/0.4519, allocations: 118.4 kB / 463.2 MB, free: 41.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.452, allocations: 116.8 kB / 463.3 MB, free: 41.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.4532, allocations: 0.7805 MB / 464.1 MB, free: 41.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4532, allocations: 3.5 kB / 464.1 MB, free: 41.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006501/0.4539, allocations: 0.5869 MB / 464.6 MB, free: 40.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007255/0.4546, allocations: 56.22 kB / 464.7 MB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/0.4564, allocations: 1.342 MB / 466 MB, free: 40.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.4567, allocations: 0.8238 MB / 466.9 MB, free: 39.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.4568, allocations: 31.92 kB / 466.9 MB, free: 39.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.4569, allocations: 32.38 kB / 466.9 MB, free: 39.37 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4569, allocations: 0 / 466.9 MB, free: 39.37 MB / 382.1 MB Notification: Performance of Templates: time 0.008404/0.4653, allocations: 4.163 MB / 471.1 MB, free: 39.12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) Environment - environmentSimulation: