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.0009608/0.0009608, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009502/0.0009503, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 222.1 MB, free: 5.488 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.3846/0.3846, allocations: 39.99 MB / 310.4 MB, free: 10.06 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.0005414/0.0005415, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1459, allocations: 57.97 MB / 436.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003243/0.1492, allocations: 2.784 MB / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1507, allocations: 0.8155 MB / 440.4 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.1509, allocations: 11.94 kB / 440.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.1511, allocations: 51.56 kB / 440.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.1513, allocations: 146.8 kB / 440.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.1517, allocations: 79.92 kB / 440.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.1523, allocations: 0.5596 MB / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.1526, allocations: 140.5 kB / 441.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1528, allocations: 183.3 kB / 441.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.1531, allocations: 215.1 kB / 441.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/0.1531, allocations: 24 kB / 441.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.433e-05/0.1532, allocations: 27.94 kB / 441.8 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.1533, allocations: 75.67 kB / 441.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1534, allocations: 121.5 kB / 442 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.1538, allocations: 402.8 kB / 442.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1538, allocations: 0 / 442.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1538, allocations: 0 / 442.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.1539, allocations: 0 / 442.4 MB, free: 12.89 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.0009654/0.1548, allocations: 0.6898 MB / 443.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1549, allocations: 8.031 kB / 443.1 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.539e-05/0.155, allocations: 55.34 kB / 443.2 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1553, allocations: 305.3 kB / 443.4 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.895e-05/0.1554, allocations: 40.98 kB / 443.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/0.1555, allocations: 55.91 kB / 443.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007405/0.1562, allocations: 434.5 kB / 444 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.1562, allocations: 7.906 kB / 444 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.1563, allocations: 20 kB / 444 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.1563, allocations: 15.95 kB / 444 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004927/0.1568, allocations: 308.5 kB / 444.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.1585, allocations: 1.157 MB / 445.5 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.1592, allocations: 481.1 kB / 445.9 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002795/0.1595, allocations: 211.1 kB / 446.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1595, allocations: 12.47 kB / 446.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.1595, allocations: 43 kB / 446.2 MB, free: 8.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.673e-06/0.1596, allocations: 0 / 446.2 MB, free: 8.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.003091/0.1627, allocations: 2.135 MB / 448.3 MB, free: 6.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.1627, allocations: 93.61 kB / 448.4 MB, free: 6.461 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.163, allocations: 243 kB / 448.7 MB, free: 6.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.1631, allocations: 37.7 kB / 448.7 MB, free: 6.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1632, allocations: 217 kB / 448.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.1634, allocations: 264 kB / 449.2 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.1635, allocations: 16 kB / 449.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1636, allocations: 358.8 kB / 449.5 MB, free: 5.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.1639, allocations: 153.9 kB / 449.7 MB, free: 5.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.1642, allocations: 276.9 kB / 450 MB, free: 4.863 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.1645, allocations: 191.2 kB / 450.1 MB, free: 4.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1646, allocations: 8 kB / 450.2 MB, free: 4.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008999/0.1655, allocations: 0.559 MB / 450.7 MB, free: 4.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1655, allocations: 8 kB / 450.7 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.1655, allocations: 4 kB / 450.7 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.1655, allocations: 7.953 kB / 450.7 MB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.1661, allocations: 175.8 kB / 450.9 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.1661, allocations: 12.22 kB / 450.9 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.1664, allocations: 27.98 kB / 450.9 MB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.1664, allocations: 24 kB / 451 MB, free: 3.848 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002061/0.1666, allocations: 185.6 kB / 451.1 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.1667, allocations: 43.44 kB / 451.2 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.1669, allocations: 59.64 kB / 451.2 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.1669, allocations: 11.95 kB / 451.3 MB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.1669, allocations: 4 kB / 451.3 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.1669, allocations: 3.984 kB / 451.3 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.169, allocations: 1.447 MB / 452.7 MB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.169, allocations: 4 kB / 452.7 MB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.1696, allocations: 155.8 kB / 452.9 MB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.1696, allocations: 8 kB / 452.9 MB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.1696, allocations: 19.95 kB / 452.9 MB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.258e-06/0.1697, allocations: 7.984 kB / 452.9 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.1697, allocations: 4 kB / 452.9 MB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1708, allocations: 0.9044 MB / 453.8 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1709, allocations: 120.5 kB / 453.9 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.684e-05/0.171, allocations: 16 kB / 453.9 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.1712, allocations: 20.02 kB / 454 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1713, allocations: 56.31 kB / 454 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.1714, allocations: 27.94 kB / 454 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1716, allocations: 178 kB / 454.2 MB, free: 416 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1716, allocations: 0 / 454.2 MB, free: 416 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005729/0.1721, allocations: 144 kB / 454.4 MB, free: 272 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.1724, allocations: 123 kB / 454.5 MB, free: 136 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2135/0.3859, allocations: 452.3 kB / 454.9 MB, free: 48.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.3859, allocations: 0 / 454.9 MB, free: 48.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.3863, allocations: 237.8 kB / 455.2 MB, free: 48.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.3874, allocations: 112.4 kB / 455.3 MB, free: 48.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.3898, allocations: 2.03 MB / 457.3 MB, free: 47.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3901, allocations: 0.8448 MB / 458.1 MB, free: 47.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.3903, allocations: 58.33 kB / 458.2 MB, free: 47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.3905, allocations: 41.59 kB / 458.2 MB, free: 46.99 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3905, allocations: 0 / 458.2 MB, free: 46.99 MB / 382.1 MB Notification: Performance of Templates: time 0.008239/0.3987, allocations: 4.813 MB / 463.1 MB, free: 46.65 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: