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.00111/0.00111, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001038/0.001038, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.358/1.358, allocations: 222.9 MB / 243 MB, free: 15.07 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.2106/0.2106, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.75 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1334, allocations: 60.84 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.007046/0.1405, allocations: 3.255 MB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1427, allocations: 0.8102 MB / 474.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000333/0.143, allocations: 11.88 kB / 474.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1434, allocations: 71.25 kB / 474.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006172/0.144, allocations: 170.5 kB / 475 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1445, allocations: 107.9 kB / 475.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009758/0.1454, allocations: 0.5949 MB / 475.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004443/0.1459, allocations: 169.3 kB / 475.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000391/0.1463, allocations: 227.1 kB / 476.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.1468, allocations: 235 kB / 476.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.862e-05/0.1469, allocations: 44 kB / 476.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.147, allocations: 44 kB / 476.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1472, allocations: 99.69 kB / 476.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.1476, allocations: 274.7 kB / 476.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007175/0.1483, allocations: 0.5527 MB / 477.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1483, allocations: 0 / 477.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1483, allocations: 3.938 kB / 477.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.385e-06/0.1484, allocations: 3.938 kB / 477.3 MB, free: 6.938 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.001611/0.15, allocations: 0.759 MB / 478.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.15, allocations: 12.03 kB / 478.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.1502, allocations: 48.38 kB / 478.2 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.1507, allocations: 322.4 kB / 478.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.1508, allocations: 33.38 kB / 478.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.1509, allocations: 52.28 kB / 478.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009816/0.1519, allocations: 446.9 kB / 479 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.152, allocations: 7.906 kB / 479 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.152, allocations: 20 kB / 479 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.1521, allocations: 12 kB / 479 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007737/0.1529, allocations: 316.4 kB / 479.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.1554, allocations: 1.142 MB / 480.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1565, allocations: 495.7 kB / 481 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.157, allocations: 211.1 kB / 481.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.349e-05/0.1571, allocations: 20.44 kB / 481.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1571, allocations: 39 kB / 481.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.965e-06/0.1571, allocations: 0 / 481.2 MB, free: 2.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.004809/0.1619, allocations: 2.124 MB / 483.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.162, allocations: 85.67 kB / 483.4 MB, free: 452 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.1625, allocations: 254.9 kB / 483.7 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.1625, allocations: 41.7 kB / 483.7 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.1628, allocations: 205 kB / 483.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.1631, allocations: 276.1 kB / 484.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.1633, allocations: 118.6 kB / 484.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1635, allocations: 366.7 kB / 484.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004489/0.164, allocations: 157.9 kB / 484.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.1646, allocations: 280.8 kB / 485.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1657, allocations: 471 kB / 485.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1657, allocations: 0 / 485.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001357/0.1671, allocations: 0.5632 MB / 486.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.1671, allocations: 12.06 kB / 486.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.1671, allocations: 4 kB / 486.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.1672, allocations: 4 kB / 486.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.168, allocations: 179.7 kB / 486.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.168, allocations: 11.98 kB / 486.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.1684, allocations: 20 kB / 486.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.1685, allocations: 27.94 kB / 486.4 MB, free: 13.39 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.000263/0.1687, allocations: 189.6 kB / 486.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1689, allocations: 39.53 kB / 486.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.169, allocations: 59.64 kB / 486.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.169, allocations: 8 kB / 486.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.169, allocations: 0 / 486.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.1691, allocations: 3.984 kB / 486.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.1715, allocations: 1.444 MB / 488.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.1715, allocations: 4 kB / 488.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/0.1724, allocations: 155.8 kB / 488.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/0.1724, allocations: 11.98 kB / 488.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.1725, allocations: 19.94 kB / 488.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.1725, allocations: 7.938 kB / 488.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1725, allocations: 4 kB / 488.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.1737, allocations: 0.9043 MB / 489.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.1738, allocations: 120.5 kB / 489.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.1739, allocations: 28 kB / 489.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.1742, allocations: 19.98 kB / 489.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.1743, allocations: 48.33 kB / 489.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.1743, allocations: 23.98 kB / 489.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1744, allocations: 181.9 kB / 489.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1744, allocations: 0 / 489.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.1749, allocations: 144 kB / 489.8 MB, free: 9.805 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.0001391/0.1751, allocations: 123.1 kB / 489.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006915/0.1758, allocations: 467.6 kB / 490.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1758, allocations: 0 / 490.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.1761, allocations: 234.2 kB / 490.6 MB, free: 8.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.1769, allocations: 133.8 kB / 490.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.1793, allocations: 1.645 MB / 492.4 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.1798, allocations: 0.8485 MB / 493.2 MB, free: 6.281 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.18, allocations: 60.66 kB / 493.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.694e-05/0.1801, allocations: 43.44 kB / 493.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1801, allocations: 0 / 493.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of Templates: time 0.009986/0.1901, allocations: 5.295 MB / 498.6 MB, free: 0.9414 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 gbode -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