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.0009238/0.0009234, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001344/0.001344, allocations: 177.3 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.701/1.701, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.4149/0.4149, allocations: 40 MB / 310.4 MB, free: 9.938 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.0005326/0.0005328, allocations: 20 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.136, allocations: 57.96 MB / 436.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003583/0.1396, allocations: 2.57 MB / 439.3 MB, free: 28 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1416, allocations: 0.8547 MB / 440.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004411/0.142, allocations: 11.94 kB / 440.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.1423, allocations: 55.61 kB / 440.3 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007588/0.1431, allocations: 199.4 kB / 440.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1435, allocations: 83.84 kB / 440.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009764/0.1445, allocations: 419.1 kB / 440.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.1448, allocations: 140.5 kB / 441.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003235/0.1451, allocations: 187.3 kB / 441.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.1455, allocations: 207.1 kB / 441.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.55e-05/0.1456, allocations: 24 kB / 441.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.526e-05/0.1457, allocations: 24 kB / 441.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.944e-05/0.1458, allocations: 79.67 kB / 441.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1459, allocations: 117.5 kB / 441.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.1463, allocations: 414.8 kB / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.1463, allocations: 0 / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1464, allocations: 0 / 442.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.731e-05/0.1464, allocations: 0 / 442.1 MB, free: 13.23 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.001167/0.1476, allocations: 0.682 MB / 442.8 MB, free: 12.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.1476, allocations: 8.031 kB / 442.8 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001523/0.1478, allocations: 59.34 kB / 442.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.1483, allocations: 305.3 kB / 443.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.1483, allocations: 37 kB / 443.2 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.1484, allocations: 55.91 kB / 443.2 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/0.1492, allocations: 430.5 kB / 443.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-05/0.1493, allocations: 11.91 kB / 443.7 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.1494, allocations: 20 kB / 443.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1494, allocations: 15.95 kB / 443.7 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006335/0.15, allocations: 308.5 kB / 444 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.152, allocations: 1.161 MB / 445.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008562/0.1529, allocations: 485.1 kB / 445.6 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.1529, allocations: 8.438 kB / 445.7 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.153, allocations: 39 kB / 445.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.873e-06/0.153, allocations: 0 / 445.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.00289/0.1559, allocations: 2.128 MB / 447.8 MB, free: 7.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.156, allocations: 89.67 kB / 447.9 MB, free: 7.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.1562, allocations: 251 kB / 448.2 MB, free: 6.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.1562, allocations: 37.7 kB / 448.2 MB, free: 6.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1564, allocations: 209 kB / 448.4 MB, free: 6.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.1566, allocations: 272 kB / 448.7 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.1566, allocations: 16 kB / 448.7 MB, free: 6.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1568, allocations: 354.8 kB / 449 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.157, allocations: 153.9 kB / 449.2 MB, free: 5.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.1573, allocations: 276.9 kB / 449.4 MB, free: 5.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.1576, allocations: 203.1 kB / 449.6 MB, free: 5.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1577, allocations: 4 kB / 449.6 MB, free: 5.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008032/0.1585, allocations: 0.5513 MB / 450.2 MB, free: 4.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.1585, allocations: 8.281 kB / 450.2 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1585, allocations: 4 kB / 450.2 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.1585, allocations: 15.89 kB / 450.2 MB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.1591, allocations: 175.8 kB / 450.4 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.1592, allocations: 8 kB / 450.4 MB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.1594, allocations: 23.98 kB / 450.4 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.1595, allocations: 24 kB / 450.5 MB, free: 4.41 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.0002118/0.1597, allocations: 193.6 kB / 450.6 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.1598, allocations: 43.44 kB / 450.7 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.1599, allocations: 59.64 kB / 450.7 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.1599, allocations: 12.03 kB / 450.8 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.1599, allocations: 3.953 kB / 450.8 MB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.1599, allocations: 3.984 kB / 450.8 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.1619, allocations: 1.438 MB / 452.2 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1619, allocations: 4 kB / 452.2 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/0.1625, allocations: 159.8 kB / 452.4 MB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.1625, allocations: 8.406 kB / 452.4 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.1625, allocations: 31.94 kB / 452.4 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1626, allocations: 4 kB / 452.4 MB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1626, allocations: 4 kB / 452.4 MB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1636, allocations: 1.045 MB / 453.5 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.1e-05/0.1637, allocations: 112.5 kB / 453.6 MB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.1638, allocations: 23.95 kB / 453.6 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.1641, allocations: 23.92 kB / 453.6 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.1641, allocations: 52.31 kB / 453.7 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.1642, allocations: 23.94 kB / 453.7 MB, free: 0.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.1643, allocations: 174 kB / 453.9 MB, free: 0.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1643, allocations: 0 / 453.9 MB, free: 0.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.1648, allocations: 148 kB / 454 MB, free: 0.6055 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 (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.0001734/0.165, allocations: 119 kB / 454.1 MB, free: 488 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006994/0.1657, allocations: 448.1 kB / 454.6 MB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.1657, allocations: 8.062 kB / 454.6 MB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2206/0.3863, allocations: 230.6 kB / 454.8 MB, free: 49.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009873/0.3874, allocations: 100.9 kB / 454.9 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3897, allocations: 2.022 MB / 456.9 MB, free: 48.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.39, allocations: 0.8574 MB / 457.8 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.3902, allocations: 62.03 kB / 457.8 MB, free: 47.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.3903, allocations: 42.94 kB / 457.9 MB, free: 47.37 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3903, allocations: 0 / 457.9 MB, free: 47.37 MB / 382.1 MB Notification: Performance of Templates: time 0.008601/0.3989, allocations: 4.788 MB / 462.7 MB, free: 47.04 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: