Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="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_4.0.0_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_4.0.0_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.001459/0.001459, allocations: 90.89 kB / 16.98 MB, free: 5.938 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.001849/0.001849, allocations: 186.9 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 241.8 MB, free: 376 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2105/0.2105, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003564, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 61.92 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003782/0.1384, allocations: 2.571 MB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1402, allocations: 0.8146 MB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/0.1407, allocations: 11.94 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.141, allocations: 51.61 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008098/0.1418, allocations: 195.5 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.1422, allocations: 83.84 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.1427, allocations: 419.1 kB / 475.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.143, allocations: 136.8 kB / 475.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.1433, allocations: 187.3 kB / 475.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.1436, allocations: 215.1 kB / 476.1 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.1436, allocations: 24 kB / 476.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.1437, allocations: 24 kB / 476.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.1438, allocations: 75.69 kB / 476.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1439, allocations: 117.5 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.1443, allocations: 402.8 kB / 476.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1443, allocations: 3.938 kB / 476.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1443, allocations: 0 / 476.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1443, allocations: 0 / 476.7 MB, free: 8.434 MB / 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.0009599/0.1453, allocations: 0.682 MB / 477.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1453, allocations: 12.03 kB / 477.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.1454, allocations: 51.44 kB / 477.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.1458, allocations: 309.3 kB / 477.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.1459, allocations: 37 kB / 477.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-05/0.146, allocations: 63.75 kB / 477.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006306/0.1466, allocations: 430.6 kB / 478.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.1466, allocations: 3.906 kB / 478.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.1467, allocations: 23.94 kB / 478.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1467, allocations: 12 kB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004864/0.1472, allocations: 316.4 kB / 478.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.1489, allocations: 1.154 MB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007318/0.1496, allocations: 477.2 kB / 480.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1496, allocations: 12.38 kB / 480.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1497, allocations: 39.03 kB / 480.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 1.903e-06/0.1497, allocations: 0 / 480.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002842/0.1525, allocations: 2.127 MB / 482.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.1526, allocations: 85.67 kB / 482.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1529, allocations: 250.9 kB / 482.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.1529, allocations: 33.7 kB / 482.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.153, allocations: 213 kB / 483 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.1532, allocations: 268 kB / 483.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.1533, allocations: 20 kB / 483.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1534, allocations: 354.8 kB / 483.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1537, allocations: 153.9 kB / 483.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.154, allocations: 272.7 kB / 484.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.1544, allocations: 199.2 kB / 484.3 MB, free: 456 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.1544, allocations: 4 kB / 484.3 MB, free: 452 kB / 350.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007936/0.1552, allocations: 0.5602 MB / 484.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.1552, allocations: 8 kB / 484.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1552, allocations: 3.938 kB / 484.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.1552, allocations: 8 kB / 484.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.1558, allocations: 179.7 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.1558, allocations: 11.98 kB / 485 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.1561, allocations: 24.28 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.1561, allocations: 28 kB / 485.1 MB, free: 15.62 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.0002063/0.1564, allocations: 185.5 kB / 485.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.1565, allocations: 47.48 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.1566, allocations: 59.64 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.1566, allocations: 8.047 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.1566, allocations: 3.984 kB / 485.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1566, allocations: 3.984 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.1584, allocations: 1.45 MB / 486.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1585, allocations: 4 kB / 486.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.1591, allocations: 155.9 kB / 487 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.1591, allocations: 8 kB / 487 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.1591, allocations: 23.98 kB / 487 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.1591, allocations: 7.938 kB / 487 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.1591, allocations: 4 kB / 487 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.1602, allocations: 1.057 MB / 488.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.178e-05/0.1603, allocations: 108.6 kB / 488.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.1604, allocations: 20 kB / 488.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1606, allocations: 19.98 kB / 488.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.1607, allocations: 60.27 kB / 488.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.1608, allocations: 20 kB / 488.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.1609, allocations: 170 kB / 488.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1609, allocations: 0 / 488.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005192/0.1614, allocations: 148 kB / 488.6 MB, free: 11.81 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.0001606/0.1616, allocations: 123 kB / 488.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006676/0.1623, allocations: 447.6 kB / 489.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1623, allocations: 0 / 489.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.1626, allocations: 235.4 kB / 489.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/0.1633, allocations: 116 kB / 489.5 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.1663, allocations: 2.011 MB / 491.5 MB, free: 8.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.1669, allocations: 0.8644 MB / 492.4 MB, free: 7.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.1672, allocations: 60.66 kB / 492.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1673, allocations: 39.44 kB / 492.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1673, allocations: 0 / 492.5 MB, free: 7.84 MB / 366.1 MB Notification: Performance of Templates: time 0.01078/0.1781, allocations: 4.785 MB / 497.3 MB, free: 3.109 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches