Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001173/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002241/0.002242, allocations: 192.2 kB / 16.13 MB, free: 6.715 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.611/1.611, allocations: 205.1 MB / 222 MB, free: 4.762 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.4085/0.4085, allocations: 37.98 MB / 307.3 MB, free: 10.09 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.001422/0.001422, allocations: 71.91 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1515, allocations: 56.47 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.005889/0.1574, allocations: 2.874 MB / 433.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.159, allocations: 0.7565 MB / 434.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.1592, allocations: 11.94 kB / 434.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.1595, allocations: 39.64 kB / 434.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.1598, allocations: 107.1 kB / 434.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1601, allocations: 87.91 kB / 434.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.1606, allocations: 418.4 kB / 435.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.1609, allocations: 159 kB / 435.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.1611, allocations: 159.4 kB / 435.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.1614, allocations: 195 kB / 435.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.1614, allocations: 24 kB / 435.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.09e-05/0.1615, allocations: 28 kB / 435.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.1616, allocations: 59.77 kB / 435.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.1618, allocations: 195 kB / 436.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.1622, allocations: 430.7 kB / 436.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.1622, allocations: 0 / 436.5 MB, free: 1.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1622, allocations: 3.938 kB / 436.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1622, allocations: 0 / 436.5 MB, free: 1.535 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001151/0.1634, allocations: 0.663 MB / 437.2 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.1635, allocations: 8.031 kB / 437.2 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.378e-05/0.1636, allocations: 44.47 kB / 437.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.1639, allocations: 292.4 kB / 437.5 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.164, allocations: 29.38 kB / 437.5 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.092e-05/0.164, allocations: 40.38 kB / 437.6 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.1648, allocations: 389.3 kB / 438 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.1649, allocations: 7.906 kB / 438 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.1649, allocations: 16 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.165, allocations: 8 kB / 438 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005085/0.1655, allocations: 251.8 kB / 438.2 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.1672, allocations: 1.117 MB / 439.4 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.1678, allocations: 347.9 kB / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.1681, allocations: 178.8 kB / 439.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.1681, allocations: 8 kB / 439.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.1682, allocations: 42.5 kB / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.673e-06/0.1682, allocations: 0 / 439.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.004141/0.1723, allocations: 2.431 MB / 442.4 MB, free: 11.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/0.1724, allocations: 110.8 kB / 442.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.1728, allocations: 246.6 kB / 442.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.1728, allocations: 29.7 kB / 442.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.173, allocations: 180.7 kB / 442.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001819/0.1732, allocations: 201 kB / 443.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.1733, allocations: 86.25 kB / 443.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.1736, allocations: 354.7 kB / 443.5 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.1738, allocations: 133 kB / 443.7 MB, free: 9.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.1742, allocations: 227.8 kB / 443.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.1749, allocations: 398 kB / 444.3 MB, free: 9.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.175, allocations: 3.938 kB / 444.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00113/0.1761, allocations: 0.5617 MB / 444.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.1761, allocations: 8 kB / 444.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.1762, allocations: 3.984 kB / 444.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004279/0.1766, allocations: 126.5 kB / 445 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.177, allocations: 95.88 kB / 445.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004445/0.1815, allocations: 4.684 MB / 449.8 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.1818, allocations: 27.98 kB / 449.8 MB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.1819, allocations: 16 kB / 449.8 MB, free: 3.219 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.0002744/0.1821, allocations: 161.7 kB / 450 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.1823, allocations: 43.56 kB / 450 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.158e-05/0.1824, allocations: 46.23 kB / 450 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.1824, allocations: 8 kB / 450.1 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.909e-05/0.1824, allocations: 4 kB / 450.1 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1824, allocations: 3.984 kB / 450.1 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.1846, allocations: 1.336 MB / 451.4 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.1846, allocations: 0 / 451.4 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.185, allocations: 99.88 kB / 451.5 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003087/0.1853, allocations: 98.55 kB / 451.6 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.1854, allocations: 12 kB / 451.6 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2691/0.4545, allocations: 4.103 MB / 455.7 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4545, allocations: 6.344 kB / 455.7 MB, free: 49.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.4558, allocations: 0.9168 MB / 456.6 MB, free: 48.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.4558, allocations: 110.3 kB / 456.7 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.4559, allocations: 12.33 kB / 456.7 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.4561, allocations: 20.75 kB / 456.8 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.4562, allocations: 48.5 kB / 456.8 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.4563, allocations: 16.06 kB / 456.8 MB, free: 48.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.4564, allocations: 174.2 kB / 457 MB, free: 48.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4564, allocations: 3.062 kB / 457 MB, free: 48.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007268/0.4572, allocations: 118.8 kB / 457.1 MB, free: 48.68 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.0001628/0.4573, allocations: 109.5 kB / 457.2 MB, free: 48.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.4586, allocations: 0.7744 MB / 458 MB, free: 48.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.4587, allocations: 3.812 kB / 458 MB, free: 48.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.4594, allocations: 0.574 MB / 458.6 MB, free: 47.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.4602, allocations: 64.33 kB / 458.6 MB, free: 47.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.4623, allocations: 1.256 MB / 459.9 MB, free: 47.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.4626, allocations: 0.8145 MB / 460.7 MB, free: 46.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001708/0.4628, allocations: 34.28 kB / 460.7 MB, free: 46.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.4629, allocations: 33.41 kB / 460.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.545e-06/0.4629, allocations: 0 / 460.8 MB, free: 46.5 MB / 382.1 MB Notification: Performance of Templates: time 0.009424/0.4724, allocations: 4.227 MB / 465 MB, free: 46.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)