Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, 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.001402/0.001402, allocations: 193.3 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.615/1.615, allocations: 205.1 MB / 222 MB, free: 4.75 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.3689/0.3689, allocations: 39.93 MB / 309.3 MB, free: 9.656 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.0014/0.0014, allocations: 59.91 kB / 376.9 MB, free: 13.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1494, allocations: 56.89 MB / 433.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005121/0.1546, allocations: 3.3 MB / 437.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.156, allocations: 0.8385 MB / 437.9 MB, free: 256 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.1563, allocations: 8 kB / 438 MB, free: 248 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.1565, allocations: 59.48 kB / 438 MB, free: 188 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.1568, allocations: 154.8 kB / 438.2 MB, free: 32 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1571, allocations: 87.92 kB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004893/0.1576, allocations: 0.5715 MB / 438.8 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002679/0.1579, allocations: 145.8 kB / 439 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.1581, allocations: 203.1 kB / 439.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.1584, allocations: 234.9 kB / 439.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.1585, allocations: 28 kB / 439.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.1586, allocations: 28 kB / 439.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.1586, allocations: 87.67 kB / 439.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.1589, allocations: 246.8 kB / 439.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.1594, allocations: 0.5332 MB / 440.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1594, allocations: 0 / 440.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.1594, allocations: 4 kB / 440.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1594, allocations: 0 / 440.3 MB, free: 13.87 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001185/0.1606, allocations: 0.7523 MB / 441.1 MB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.344e-05/0.1607, allocations: 12.03 kB / 441.1 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.772e-05/0.1608, allocations: 56.28 kB / 441.1 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.1612, allocations: 318.5 kB / 441.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.1612, allocations: 33.38 kB / 441.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.1613, allocations: 64.25 kB / 441.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.162, allocations: 434.9 kB / 442 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.162, allocations: 7.891 kB / 442 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.1621, allocations: 23.94 kB / 442 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1621, allocations: 12 kB / 442 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.1626, allocations: 316.4 kB / 442.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.1645, allocations: 1.15 MB / 443.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.1652, allocations: 493 kB / 443.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.1655, allocations: 214.9 kB / 444.1 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1656, allocations: 12.47 kB / 444.2 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1656, allocations: 39 kB / 444.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.874e-06/0.1656, allocations: 0 / 444.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002894/0.1685, allocations: 2.132 MB / 446.3 MB, free: 7.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1686, allocations: 85.67 kB / 446.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.1688, allocations: 255 kB / 446.7 MB, free: 7.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.1689, allocations: 37.7 kB / 446.7 MB, free: 7.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.169, allocations: 209 kB / 446.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.1693, allocations: 272.1 kB / 447.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.1694, allocations: 122.6 kB / 447.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1696, allocations: 358.7 kB / 447.6 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.1699, allocations: 161.9 kB / 447.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.1702, allocations: 276.8 kB / 448.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006687/0.1709, allocations: 467.1 kB / 448.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1709, allocations: 0 / 448.5 MB, free: 5.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007805/0.1717, allocations: 0.5671 MB / 449.1 MB, free: 4.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.1717, allocations: 8 kB / 449.1 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1717, allocations: 3.938 kB / 449.1 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.1718, allocations: 11.94 kB / 449.1 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.1723, allocations: 175.8 kB / 449.3 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.1723, allocations: 8 kB / 449.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.1726, allocations: 20 kB / 449.3 MB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.1726, allocations: 31.94 kB / 449.3 MB, free: 4.316 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.1728, allocations: 185.7 kB / 449.5 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/0.1729, allocations: 47.44 kB / 449.6 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.173, allocations: 59.64 kB / 449.6 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.173, allocations: 8 kB / 449.6 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.1731, allocations: 0 / 449.6 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.1731, allocations: 7.922 kB / 449.6 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.1749, allocations: 1.446 MB / 451.1 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1749, allocations: 4.281 kB / 451.1 MB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/0.1755, allocations: 167.7 kB / 451.3 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.1755, allocations: 4 kB / 451.3 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.1756, allocations: 28 kB / 451.3 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.1756, allocations: 8 kB / 451.3 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1756, allocations: 0 / 451.3 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.1768, allocations: 0.9153 MB / 452.2 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1769, allocations: 112.6 kB / 452.3 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.177, allocations: 23.92 kB / 452.3 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.1773, allocations: 20 kB / 452.4 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.1774, allocations: 48.31 kB / 452.4 MB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.1774, allocations: 20 kB / 452.4 MB, free: 1.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001851/0.1776, allocations: 189.9 kB / 452.6 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1776, allocations: 0 / 452.6 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005393/0.1781, allocations: 140 kB / 452.8 MB, free: 0.7148 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.1783, allocations: 127 kB / 452.9 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006944/0.179, allocations: 448.1 kB / 453.3 MB, free: 140 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.179, allocations: 8.062 kB / 453.3 MB, free: 132 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.223/0.402, allocations: 233 kB / 453.6 MB, free: 51.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.4033, allocations: 113.8 kB / 453.7 MB, free: 51.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.4055, allocations: 1.88 MB / 455.5 MB, free: 50.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.4058, allocations: 0.8481 MB / 456.4 MB, free: 50.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.406, allocations: 62.28 kB / 456.5 MB, free: 50.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.579e-05/0.4061, allocations: 41.47 kB / 456.5 MB, free: 50.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4061, allocations: 0 / 456.5 MB, free: 50.03 MB / 382.1 MB Notification: Performance of Templates: time 0.007799/0.4139, allocations: 5.041 MB / 461.5 MB, free: 49.71 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)