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.0009617/0.0009619, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006286/0.006286, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.614/1.614, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3159/0.3159, allocations: 38.03 MB / 308.8 MB, free: 10.31 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.0005524/0.0005525, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1179, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003346/0.1213, allocations: 2.914 MB / 437.5 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1225, allocations: 0.8386 MB / 438.3 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.1228, allocations: 11.94 kB / 438.3 MB, free: 1.422 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1229, allocations: 55.55 kB / 438.4 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.1232, allocations: 158.8 kB / 438.5 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1235, allocations: 87.91 kB / 438.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.124, allocations: 0.5636 MB / 439.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.1242, allocations: 149.8 kB / 439.3 MB, free: 416 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.1244, allocations: 191.2 kB / 439.5 MB, free: 224 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1247, allocations: 219 kB / 439.7 MB, free: 4 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.822e-05/0.1247, allocations: 24.05 kB / 439.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.617e-05/0.1248, allocations: 24 kB / 439.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.1249, allocations: 83.56 kB / 439.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.1251, allocations: 268.4 kB / 440.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.1255, allocations: 0.5174 MB / 440.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1256, allocations: 0 / 440.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1256, allocations: 4 kB / 440.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.944e-06/0.1256, allocations: 0 / 440.6 MB, free: 15.08 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.0009036/0.1265, allocations: 0.6744 MB / 441.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1265, allocations: 8.031 kB / 441.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/0.1266, allocations: 56.36 kB / 441.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.127, allocations: 318.4 kB / 441.7 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.127, allocations: 37.38 kB / 441.7 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/0.1271, allocations: 60.25 kB / 441.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.1278, allocations: 430.9 kB / 442.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.1278, allocations: 19.89 kB / 442.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.1278, allocations: 16 kB / 442.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1279, allocations: 16 kB / 442.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.1283, allocations: 316.4 kB / 442.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001511/0.1299, allocations: 1.15 MB / 443.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.1305, allocations: 493.1 kB / 444.2 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.1308, allocations: 210.9 kB / 444.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1308, allocations: 4.438 kB / 444.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.1309, allocations: 43.22 kB / 444.5 MB, free: 11.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.094e-06/0.1309, allocations: 7.969 kB / 444.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002774/0.1337, allocations: 2.139 MB / 446.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.1337, allocations: 85.67 kB / 446.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.134, allocations: 254.9 kB / 446.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.134, allocations: 33.7 kB / 447 MB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.1341, allocations: 217 kB / 447.2 MB, free: 8.125 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.1343, allocations: 264.2 kB / 447.4 MB, free: 7.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.1344, allocations: 61.69 kB / 447.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1345, allocations: 362.7 kB / 447.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.1348, allocations: 157.9 kB / 448 MB, free: 7.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.1351, allocations: 276.8 kB / 448.3 MB, free: 6.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/0.1357, allocations: 470.9 kB / 448.7 MB, free: 6.477 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1357, allocations: 0 / 448.7 MB, free: 6.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007657/0.1365, allocations: 0.5668 MB / 449.3 MB, free: 5.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1365, allocations: 8 kB / 449.3 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1365, allocations: 4 kB / 449.3 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1366, allocations: 4 kB / 449.3 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.1371, allocations: 188 kB / 449.5 MB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.369e-05/0.1371, allocations: 8 kB / 449.5 MB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1374, allocations: 20 kB / 449.5 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.1374, allocations: 27.94 kB / 449.6 MB, free: 5.648 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.0001686/0.1376, allocations: 185.6 kB / 449.7 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.708e-05/0.1377, allocations: 43.52 kB / 449.8 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.1378, allocations: 55.66 kB / 449.8 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1378, allocations: 12 kB / 449.8 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1378, allocations: 3.984 kB / 449.9 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1378, allocations: 0 / 449.9 MB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.1397, allocations: 1.453 MB / 451.3 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1397, allocations: 4 kB / 451.3 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.1403, allocations: 159.8 kB / 451.5 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.1403, allocations: 11.94 kB / 451.5 MB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.1404, allocations: 19.94 kB / 451.5 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.1404, allocations: 8.062 kB / 451.5 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.1404, allocations: 4.344 kB / 451.5 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009723/0.1414, allocations: 0.9114 MB / 452.4 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.1414, allocations: 116.6 kB / 452.5 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.1415, allocations: 23.94 kB / 452.6 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.1418, allocations: 23.98 kB / 452.6 MB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.311e-05/0.1418, allocations: 44.33 kB / 452.6 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.1419, allocations: 23.98 kB / 452.6 MB, free: 2.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.1421, allocations: 181.9 kB / 452.8 MB, free: 2.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1421, allocations: 0 / 452.8 MB, free: 2.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005132/0.1426, allocations: 144 kB / 453 MB, free: 2.062 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.0001713/0.1428, allocations: 127 kB / 453.1 MB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006946/0.1435, allocations: 456.3 kB / 453.5 MB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1435, allocations: 4 kB / 453.5 MB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.1438, allocations: 239.1 kB / 453.8 MB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009283/0.1447, allocations: 124.4 kB / 453.9 MB, free: 1.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.174/0.3187, allocations: 2.064 MB / 456 MB, free: 49.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.319, allocations: 0.8457 MB / 456.8 MB, free: 49.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.3193, allocations: 60.61 kB / 456.9 MB, free: 49.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.796e-05/0.3194, allocations: 41.09 kB / 456.9 MB, free: 49.23 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3194, allocations: 2.297 kB / 456.9 MB, free: 49.23 MB / 382.1 MB Notification: Performance of Templates: time 0.008621/0.3281, allocations: 5.008 MB / 461.9 MB, free: 48.92 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: