Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009186/0.0009186, allocations: 96.3 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009706/0.0009708, allocations: 208.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 45.92 MB / 344 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002648/0.0002647, allocations: 8 kB / 417.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1408, allocations: 63.45 MB / 481.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003018/0.1439, allocations: 2.595 MB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1454, allocations: 0.8419 MB / 484.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.1456, allocations: 15.94 kB / 484.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.463e-05/0.1457, allocations: 43.61 kB / 484.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.146, allocations: 195.5 kB / 485.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.1463, allocations: 79.91 kB / 485.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.1467, allocations: 427.1 kB / 485.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.147, allocations: 124.9 kB / 485.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.1472, allocations: 191.3 kB / 485.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.1475, allocations: 207.1 kB / 486.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.1476, allocations: 24 kB / 486.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.374e-05/0.1477, allocations: 27.94 kB / 486.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.1477, allocations: 79.67 kB / 486.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1478, allocations: 125.5 kB / 486.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.1482, allocations: 402.8 kB / 486.7 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.1482, allocations: 0 / 486.7 MB, free: 128 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1482, allocations: 0 / 486.7 MB, free: 128 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.1482, allocations: 0 / 486.7 MB, free: 128 kB / 350.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.001028/0.1493, allocations: 0.6859 MB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1493, allocations: 8.562 kB / 487.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.1494, allocations: 51.44 kB / 487.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.1498, allocations: 309.3 kB / 487.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.1498, allocations: 33 kB / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.1499, allocations: 63.8 kB / 487.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.1506, allocations: 422.6 kB / 488.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.1506, allocations: 19.88 kB / 488.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.1507, allocations: 16 kB / 488.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1507, allocations: 12 kB / 488.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004661/0.1511, allocations: 320.4 kB / 488.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.1528, allocations: 1.154 MB / 489.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007055/0.1535, allocations: 481.2 kB / 490.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1535, allocations: 4.438 kB / 490.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1536, allocations: 46.89 kB / 490.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.545e-06/0.1536, allocations: 0 / 490.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.00298/0.1566, allocations: 2.135 MB / 492.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/0.1566, allocations: 85.67 kB / 492.5 MB, free: 9.914 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.1569, allocations: 246.9 kB / 492.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.1569, allocations: 41.7 kB / 492.8 MB, free: 9.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1571, allocations: 209 kB / 493 MB, free: 9.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.1573, allocations: 268 kB / 493.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.1573, allocations: 16 kB / 493.3 MB, free: 9.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1574, allocations: 358.7 kB / 493.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.1577, allocations: 157.9 kB / 493.8 MB, free: 8.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.158, allocations: 264.9 kB / 494 MB, free: 8.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.1583, allocations: 203.2 kB / 494.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1583, allocations: 0 / 494.2 MB, free: 8.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007387/0.159, allocations: 0.5644 MB / 494.8 MB, free: 7.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1591, allocations: 7.984 kB / 494.8 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1591, allocations: 4 kB / 494.8 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1591, allocations: 8 kB / 494.8 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.1597, allocations: 175.7 kB / 495 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.1597, allocations: 4 kB / 495 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.16, allocations: 27.98 kB / 495 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.338e-05/0.16, allocations: 28 kB / 495.1 MB, free: 7.305 MB / 366.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.0001855/0.1602, allocations: 189.6 kB / 495.2 MB, free: 7.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.1603, allocations: 43.53 kB / 495.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.594e-05/0.1604, allocations: 51.64 kB / 495.3 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1604, allocations: 8 kB / 495.3 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.1604, allocations: 4 kB / 495.3 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1604, allocations: 3.984 kB / 495.3 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.1623, allocations: 1.45 MB / 496.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1623, allocations: 0 / 496.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.1629, allocations: 160.1 kB / 497 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.1629, allocations: 8 kB / 497 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.1629, allocations: 20 kB / 497 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.1629, allocations: 15.92 kB / 497 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.163, allocations: 4 kB / 497 MB, free: 5.234 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.1641, allocations: 1.045 MB / 498 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1642, allocations: 120.6 kB / 498.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.1643, allocations: 20.06 kB / 498.2 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.1646, allocations: 20 kB / 498.2 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.1646, allocations: 48.27 kB / 498.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.1647, allocations: 27.98 kB / 498.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.1648, allocations: 178 kB / 498.5 MB, free: 3.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1648, allocations: 3.938 kB / 498.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005031/0.1653, allocations: 140 kB / 498.6 MB, free: 3.5 MB / 366.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.0001599/0.1655, allocations: 123.1 kB / 498.7 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006498/0.1662, allocations: 456 kB / 499.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1662, allocations: 4 kB / 499.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.1665, allocations: 234.2 kB / 499.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.1671, allocations: 106.5 kB / 499.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.1697, allocations: 2.019 MB / 0.4898 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.1702, allocations: 0.8566 MB / 0.4906 GB, free: 15.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.1704, allocations: 60.64 kB / 0.4907 GB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.1705, allocations: 43.44 kB / 0.4907 GB, free: 15.52 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1705, allocations: 4 kB / 0.4907 GB, free: 15.52 MB / 382.1 MB Notification: Performance of Templates: time 0.009784/0.1803, allocations: 4.79 MB / 0.4954 GB, free: 10.78 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches