Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001356/0.001356, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 194 kB / 16.53 MB, free: 6.391 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.726/1.726, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.3819/0.3819, allocations: 38 MB / 307.8 MB, free: 9.969 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.001502/0.001502, allocations: 72.47 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1489, allocations: 56.46 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004881/0.1539, allocations: 3.273 MB / 435 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1557, allocations: 0.8385 MB / 435.8 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002208/0.156, allocations: 7.938 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.1562, allocations: 75.23 kB / 435.9 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.1566, allocations: 178.5 kB / 436.1 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1569, allocations: 103.9 kB / 436.2 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000653/0.1576, allocations: 0.5948 MB / 436.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.158, allocations: 177.3 kB / 436.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.1583, allocations: 211.3 kB / 437.1 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.1586, allocations: 238.9 kB / 437.4 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.704e-05/0.1586, allocations: 44 kB / 437.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.1587, allocations: 44 kB / 437.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.335e-05/0.1588, allocations: 111.6 kB / 437.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002427/0.1591, allocations: 266.7 kB / 437.8 MB, free: 468 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.1596, allocations: 0.5411 MB / 438.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1596, allocations: 0 / 438.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1597, allocations: 0 / 438.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.1597, allocations: 4 kB / 438.4 MB, free: 15.91 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.001105/0.1608, allocations: 0.7562 MB / 439.1 MB, free: 15.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.1608, allocations: 11.89 kB / 439.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.411e-05/0.1609, allocations: 68.22 kB / 439.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.1613, allocations: 322.4 kB / 439.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.1614, allocations: 33.38 kB / 439.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.1615, allocations: 56.28 kB / 439.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.1621, allocations: 434.9 kB / 440 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.1622, allocations: 11.91 kB / 440.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.1622, allocations: 16 kB / 440.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.1622, allocations: 15.94 kB / 440.1 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.1627, allocations: 320.4 kB / 440.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.1644, allocations: 1.154 MB / 441.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.1651, allocations: 489.1 kB / 442 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.1654, allocations: 211 kB / 442.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1654, allocations: 8.422 kB / 442.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.1655, allocations: 46.94 kB / 442.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.763e-06/0.1655, allocations: 0 / 442.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002725/0.1682, allocations: 2.128 MB / 444.4 MB, free: 9.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.1683, allocations: 85.67 kB / 444.5 MB, free: 9.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1686, allocations: 259 kB / 444.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.1686, allocations: 37.7 kB / 444.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.1687, allocations: 217 kB / 445 MB, free: 8.863 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.1689, allocations: 260.1 kB / 445.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.169, allocations: 126.6 kB / 445.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1692, allocations: 362.7 kB / 445.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.1695, allocations: 153.9 kB / 445.9 MB, free: 7.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.1698, allocations: 276.9 kB / 446.2 MB, free: 7.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006024/0.1704, allocations: 474.9 kB / 446.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1704, allocations: 4 kB / 446.6 MB, free: 7.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007783/0.1712, allocations: 0.5669 MB / 447.2 MB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1712, allocations: 4 kB / 447.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1712, allocations: 4 kB / 447.2 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.1713, allocations: 7.938 kB / 447.2 MB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.1718, allocations: 179.7 kB / 447.4 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1718, allocations: 8.266 kB / 447.4 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.1721, allocations: 28 kB / 447.4 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.1721, allocations: 27.94 kB / 447.4 MB, free: 6.324 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.0001976/0.1723, allocations: 181.6 kB / 447.6 MB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1724, allocations: 43.53 kB / 447.7 MB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.1726, allocations: 55.64 kB / 447.7 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1726, allocations: 8 kB / 447.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.1726, allocations: 4.062 kB / 447.7 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1726, allocations: 11.98 kB / 447.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.1744, allocations: 1.446 MB / 449.2 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.1745, allocations: 4 kB / 449.2 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005833/0.1751, allocations: 155.8 kB / 449.3 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/0.1751, allocations: 11.98 kB / 449.4 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.1751, allocations: 23.94 kB / 449.4 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.1751, allocations: 7.938 kB / 449.4 MB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1751, allocations: 4 kB / 449.4 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.1762, allocations: 0.9039 MB / 450.3 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1764, allocations: 124.5 kB / 450.4 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.1764, allocations: 19.94 kB / 450.4 MB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.1767, allocations: 23.98 kB / 450.5 MB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.1768, allocations: 44.33 kB / 450.5 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.1768, allocations: 23.98 kB / 450.5 MB, free: 3.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.177, allocations: 181.9 kB / 450.7 MB, free: 2.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.177, allocations: 0 / 450.7 MB, free: 2.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005349/0.1775, allocations: 144 kB / 450.8 MB, free: 2.742 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.0001541/0.1777, allocations: 123 kB / 451 MB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000871/0.1786, allocations: 491.6 kB / 451.4 MB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.1786, allocations: 0 / 451.4 MB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.1789, allocations: 238.2 kB / 451.7 MB, free: 1.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008956/0.1798, allocations: 142.3 kB / 451.8 MB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.1824, allocations: 1.66 MB / 453.5 MB, free: 40 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1847/0.3671, allocations: 0.8457 MB / 454.3 MB, free: 52.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.3675, allocations: 61.02 kB / 454.4 MB, free: 52.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3677, allocations: 41.62 kB / 454.4 MB, free: 52.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.144e-06/0.3677, allocations: 0 / 454.4 MB, free: 52.74 MB / 382.1 MB Notification: Performance of Templates: time 0.01404/0.3818, allocations: 5.283 MB / 459.7 MB, free: 52.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)