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.001748/0.001748, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.00198/0.001981, allocations: 187 kB / 19.34 MB, free: 3.641 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.416/1.416, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2123/0.2123, allocations: 44.17 MB / 337.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.75 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.138, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004215/0.1422, allocations: 3.27 MB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1435, allocations: 0.7984 MB / 474.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.1437, allocations: 8 kB / 474.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.1439, allocations: 75.19 kB / 474.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.1442, allocations: 174.5 kB / 475 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000217/0.1444, allocations: 103.9 kB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.1449, allocations: 0.5987 MB / 475.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.1452, allocations: 173.3 kB / 475.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1454, allocations: 219.3 kB / 476.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1457, allocations: 238.9 kB / 476.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1458, allocations: 44 kB / 476.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.14e-05/0.1459, allocations: 44 kB / 476.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.599e-05/0.146, allocations: 99.62 kB / 476.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.1462, allocations: 270.7 kB / 476.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005107/0.1467, allocations: 0.5528 MB / 477.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1467, allocations: 0 / 477.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1467, allocations: 0 / 477.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1468, allocations: 4 kB / 477.4 MB, free: 6.965 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.0009835/0.1477, allocations: 0.7523 MB / 478.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1478, allocations: 8.031 kB / 478.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.1479, allocations: 56.38 kB / 478.2 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.1483, allocations: 318.4 kB / 478.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.229e-05/0.1483, allocations: 37.38 kB / 478.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-05/0.1484, allocations: 60.22 kB / 478.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006389/0.1491, allocations: 438.9 kB / 479 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.1491, allocations: 7.906 kB / 479 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.1492, allocations: 20 kB / 479 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.1492, allocations: 12 kB / 479 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.1497, allocations: 312.5 kB / 479.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.1513, allocations: 1.149 MB / 480.5 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007098/0.152, allocations: 0.4891 MB / 481 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.1523, allocations: 211 kB / 481.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1523, allocations: 8.438 kB / 481.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1524, allocations: 39 kB / 481.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 3.176e-06/0.1524, allocations: 4 kB / 481.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.002705/0.1551, allocations: 2.127 MB / 483.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1552, allocations: 93.61 kB / 483.5 MB, free: 468 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1554, allocations: 258.9 kB / 483.7 MB, free: 204 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.1554, allocations: 33.7 kB / 483.7 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1556, allocations: 209.2 kB / 484 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.1557, allocations: 272.1 kB / 484.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1559, allocations: 118.6 kB / 484.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.156, allocations: 362.7 kB / 484.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.1562, allocations: 153.9 kB / 484.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1566, allocations: 280.8 kB / 485.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.1572, allocations: 475.1 kB / 485.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1572, allocations: 4 kB / 485.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0007843/0.158, allocations: 0.5591 MB / 486.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.158, allocations: 8 kB / 486.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.158, allocations: 0 / 486.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.158, allocations: 8 kB / 486.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.1586, allocations: 180 kB / 486.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.1586, allocations: 15.98 kB / 486.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.1589, allocations: 20 kB / 486.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.1589, allocations: 31.88 kB / 486.4 MB, free: 13.4 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.1591, allocations: 181.6 kB / 486.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/0.1592, allocations: 43.53 kB / 486.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.1593, allocations: 59.64 kB / 486.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.034e-06/0.1593, allocations: 8 kB / 486.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1594, allocations: 4 kB / 486.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.1594, allocations: 7.922 kB / 486.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.1611, allocations: 1.436 MB / 488.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.1612, allocations: 4 kB / 488.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.1618, allocations: 155.8 kB / 488.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.1618, allocations: 12.33 kB / 488.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.1618, allocations: 19.94 kB / 488.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.1619, allocations: 12.06 kB / 488.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.1619, allocations: 7.938 kB / 488.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1629, allocations: 0.9041 MB / 489.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.163, allocations: 120.5 kB / 489.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.1631, allocations: 27.94 kB / 489.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.1634, allocations: 19.98 kB / 489.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.1635, allocations: 44.38 kB / 489.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.1635, allocations: 27.97 kB / 489.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001542/0.1637, allocations: 181.9 kB / 489.7 MB, free: 9.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1637, allocations: 0 / 489.7 MB, free: 9.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005071/0.1642, allocations: 148 kB / 489.8 MB, free: 9.812 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 (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.0001547/0.1643, allocations: 119.1 kB / 489.9 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006767/0.165, allocations: 463.7 kB / 490.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.165, allocations: 0 / 490.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.1653, allocations: 239.1 kB / 490.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007874/0.1661, allocations: 130.9 kB / 490.7 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.1687, allocations: 1.637 MB / 492.4 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.1691, allocations: 0.8524 MB / 493.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.1693, allocations: 60.66 kB / 493.3 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.1694, allocations: 47.38 kB / 493.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1695, allocations: 0 / 493.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of Templates: time 0.01651/0.186, allocations: 5.294 MB / 498.6 MB, free: 0.957 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches