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.001031/0.001031, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001123/0.001123, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.61/1.61, allocations: 205.1 MB / 222 MB, free: 4.766 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.4214/0.4214, allocations: 39.93 MB / 309.3 MB, free: 9.641 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.001487/0.001487, allocations: 67.89 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1634, allocations: 56.88 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004677/0.1682, allocations: 2.878 MB / 436.7 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1696, allocations: 0.7526 MB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.1698, allocations: 8 kB / 437.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.17, allocations: 39.62 kB / 437.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1703, allocations: 111.2 kB / 437.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.1706, allocations: 79.86 kB / 437.7 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.171, allocations: 422.4 kB / 438.1 MB, free: 100 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.1713, allocations: 171 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1715, allocations: 151.3 kB / 438.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.1718, allocations: 179.2 kB / 438.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.744e-05/0.1718, allocations: 28 kB / 438.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.744e-05/0.1719, allocations: 24 kB / 438.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.172, allocations: 75.69 kB / 438.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.1721, allocations: 202.9 kB / 438.9 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.1725, allocations: 426.7 kB / 439.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1725, allocations: 0 / 439.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1725, allocations: 0 / 439.3 MB, free: 14.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1725, allocations: 0 / 439.3 MB, free: 14.86 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.0009512/0.1735, allocations: 0.659 MB / 440 MB, free: 14.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1736, allocations: 12.03 kB / 440 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.1736, allocations: 48.38 kB / 440 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.174, allocations: 292.5 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.174, allocations: 29.38 kB / 440.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.1741, allocations: 40.28 kB / 440.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.1747, allocations: 389.3 kB / 440.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.1747, allocations: 3.938 kB / 440.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.1748, allocations: 16 kB / 440.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.1748, allocations: 16 kB / 440.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/0.1753, allocations: 247.8 kB / 441 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1769, allocations: 1.101 MB / 442.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/0.1775, allocations: 359.5 kB / 442.5 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.1778, allocations: 178.4 kB / 442.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.1779, allocations: 4 kB / 442.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.1779, allocations: 38.56 kB / 442.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.074e-06/0.1779, allocations: 0 / 442.7 MB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.004059/0.182, allocations: 2.442 MB / 445.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.139e-05/0.1821, allocations: 110.8 kB / 445.3 MB, free: 8.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.1824, allocations: 234.6 kB / 445.5 MB, free: 8.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.1825, allocations: 41.69 kB / 445.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1826, allocations: 180.7 kB / 445.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.1828, allocations: 197 kB / 445.9 MB, free: 7.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.183, allocations: 98.16 kB / 446 MB, free: 7.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1832, allocations: 346.7 kB / 446.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.1834, allocations: 125.1 kB / 446.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.1838, allocations: 231.8 kB / 446.7 MB, free: 6.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.1844, allocations: 409.9 kB / 447.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1845, allocations: 0 / 447.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009857/0.1854, allocations: 0.5538 MB / 447.6 MB, free: 5.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.1856, allocations: 8 kB / 447.6 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1856, allocations: 7.938 kB / 447.6 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.186, allocations: 118.5 kB / 447.8 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.1864, allocations: 103.8 kB / 447.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.1905, allocations: 4.688 MB / 452.5 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.1907, allocations: 16 kB / 452.6 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.1908, allocations: 23.98 kB / 452.6 MB, free: 0.5391 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.0002169/0.191, allocations: 165.8 kB / 452.7 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1911, allocations: 39.47 kB / 452.8 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.1912, allocations: 54.11 kB / 452.8 MB, free: 280 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1912, allocations: 4 kB / 452.8 MB, free: 276 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.1912, allocations: 4 kB / 452.8 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1913, allocations: 7.984 kB / 452.9 MB, free: 264 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2754/0.4667, allocations: 1.322 MB / 454.2 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4668, allocations: 0.8125 kB / 454.2 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000404/0.4672, allocations: 96.36 kB / 454.3 MB, free: 47.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000282/0.4675, allocations: 99.67 kB / 454.4 MB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.4675, allocations: 12.66 kB / 454.4 MB, free: 47.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.4699, allocations: 4.117 MB / 458.5 MB, free: 43.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4699, allocations: 0 / 458.5 MB, free: 43.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4711, allocations: 0.9246 MB / 459.4 MB, free: 43.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4712, allocations: 115.5 kB / 459.5 MB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.4712, allocations: 9.531 kB / 459.5 MB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.4715, allocations: 18.88 kB / 459.6 MB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.4716, allocations: 49.64 kB / 459.6 MB, free: 43.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.322e-05/0.4717, allocations: 12.75 kB / 459.6 MB, free: 43.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.4718, allocations: 175.8 kB / 459.8 MB, free: 43.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4718, allocations: 0 / 459.8 MB, free: 43.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007563/0.4726, allocations: 119.9 kB / 459.9 MB, free: 43.21 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.0001509/0.4728, allocations: 112.5 kB / 460 MB, free: 43.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.474, allocations: 0.7753 MB / 460.8 MB, free: 42.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.474, allocations: 0 / 460.8 MB, free: 42.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006411/0.4747, allocations: 0.5739 MB / 461.4 MB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.4754, allocations: 61.77 kB / 461.4 MB, free: 42.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.4772, allocations: 1.245 MB / 462.7 MB, free: 41.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.4775, allocations: 0.817 MB / 463.5 MB, free: 41.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.4776, allocations: 39.86 kB / 463.5 MB, free: 41.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.044e-05/0.4777, allocations: 33.08 kB / 463.6 MB, free: 41.02 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4777, allocations: 0 / 463.6 MB, free: 41.02 MB / 382.1 MB Notification: Performance of Templates: time 0.007792/0.4855, allocations: 4.212 MB / 467.8 MB, free: 40.81 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (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)