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.000963/0.0009632, allocations: 91.22 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.009033/0.009033, allocations: 171.5 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.804/1.804, allocations: 205.4 MB / 222.4 MB, free: 5.578 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.3875/0.3875, allocations: 39.99 MB / 310.7 MB, free: 9.898 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.0005889/0.000589, allocations: 20 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.139, allocations: 57.96 MB / 437.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003055/0.1421, allocations: 2.918 MB / 440.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1433, allocations: 0.8308 MB / 441.2 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.1434, allocations: 11.94 kB / 441.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.1436, allocations: 47.55 kB / 441.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.1439, allocations: 154.8 kB / 441.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1441, allocations: 99.84 kB / 441.5 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.1446, allocations: 0.5636 MB / 442 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.1449, allocations: 141.8 kB / 442.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.1451, allocations: 195.2 kB / 442.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1453, allocations: 219 kB / 442.6 MB, free: 13.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.1454, allocations: 24 kB / 442.6 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.517e-05/0.1454, allocations: 27.94 kB / 442.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.1455, allocations: 79.67 kB / 442.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.1457, allocations: 264.5 kB / 443 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.1462, allocations: 0.5175 MB / 443.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1462, allocations: 7.938 kB / 443.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1462, allocations: 0 / 443.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1463, allocations: 0 / 443.5 MB, free: 12.09 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.0009122/0.1472, allocations: 0.6782 MB / 444.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1472, allocations: 12.03 kB / 444.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/0.1473, allocations: 56.28 kB / 444.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1477, allocations: 314.5 kB / 444.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.1477, allocations: 33.38 kB / 444.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/0.1478, allocations: 60.27 kB / 444.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006985/0.1485, allocations: 434.9 kB / 445.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1485, allocations: 7.891 kB / 445.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.1486, allocations: 27.98 kB / 445.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.1486, allocations: 12 kB / 445.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004548/0.149, allocations: 316.4 kB / 445.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.1506, allocations: 1.154 MB / 446.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/0.1513, allocations: 493 kB / 447 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000273/0.1516, allocations: 210.9 kB / 447.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1516, allocations: 12.38 kB / 447.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1516, allocations: 39 kB / 447.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.684e-06/0.1516, allocations: 0 / 447.3 MB, free: 8.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=74): time 0.002796/0.1544, allocations: 2.127 MB / 449.4 MB, free: 5.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.1545, allocations: 93.67 kB / 449.5 MB, free: 5.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.1548, allocations: 251 kB / 449.8 MB, free: 5.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.1548, allocations: 37.7 kB / 449.8 MB, free: 5.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1549, allocations: 213 kB / 450 MB, free: 5.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.1551, allocations: 268 kB / 450.3 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.58e-05/0.1552, allocations: 65.69 kB / 450.3 MB, free: 4.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1554, allocations: 358.7 kB / 450.7 MB, free: 4.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.1556, allocations: 165.9 kB / 450.8 MB, free: 4.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.1559, allocations: 276.8 kB / 451.1 MB, free: 3.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/0.1566, allocations: 476 kB / 451.6 MB, free: 3.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1566, allocations: 0 / 451.6 MB, free: 3.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007473/0.1573, allocations: 0.5629 MB / 452.1 MB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1573, allocations: 4 kB / 452.1 MB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.1574, allocations: 4 kB / 452.2 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1574, allocations: 8 kB / 452.2 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.1579, allocations: 184 kB / 452.3 MB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.158, allocations: 8 kB / 452.3 MB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.1582, allocations: 24 kB / 452.4 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.1582, allocations: 27.94 kB / 452.4 MB, free: 2.66 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.0001934/0.1584, allocations: 185.6 kB / 452.6 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.1585, allocations: 43.53 kB / 452.6 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.1587, allocations: 63.58 kB / 452.7 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1587, allocations: 4 kB / 452.7 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.1587, allocations: 8 kB / 452.7 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.1587, allocations: 3.984 kB / 452.7 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.1606, allocations: 1.442 MB / 454.1 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.1606, allocations: 4 kB / 454.1 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/0.1612, allocations: 163.8 kB / 454.3 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.1612, allocations: 4 kB / 454.3 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.1613, allocations: 19.94 kB / 454.3 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.1613, allocations: 7.938 kB / 454.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1613, allocations: 4.344 kB / 454.3 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2612/0.4225, allocations: 0.9133 MB / 455.3 MB, free: 48.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.4228, allocations: 119.6 kB / 455.4 MB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.4229, allocations: 19.34 kB / 455.4 MB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.4233, allocations: 20.95 kB / 455.4 MB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.4234, allocations: 47.72 kB / 455.5 MB, free: 48.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.4234, allocations: 24.81 kB / 455.5 MB, free: 48.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.4236, allocations: 179 kB / 455.7 MB, free: 47.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4236, allocations: 0 / 455.7 MB, free: 47.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005641/0.4242, allocations: 144 kB / 455.8 MB, free: 47.93 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.0001538/0.4243, allocations: 127 kB / 455.9 MB, free: 47.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006574/0.425, allocations: 455.2 kB / 456.4 MB, free: 47.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.425, allocations: 0 / 456.4 MB, free: 47.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.4253, allocations: 244.2 kB / 456.6 MB, free: 47.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/0.4262, allocations: 115.4 kB / 456.7 MB, free: 47.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.4286, allocations: 2.077 MB / 458.8 MB, free: 46.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.4289, allocations: 0.8509 MB / 459.6 MB, free: 45.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001967/0.4291, allocations: 56.14 kB / 459.7 MB, free: 45.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-05/0.4292, allocations: 48.06 kB / 459.7 MB, free: 45.8 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4292, allocations: 0 / 459.7 MB, free: 45.8 MB / 382.1 MB Notification: Performance of Templates: time 0.008944/0.4382, allocations: 5.01 MB / 464.8 MB, free: 45.47 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: