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.00176/0.00176, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.002113/0.002113, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.369/2.369, allocations: 222.9 MB / 242.4 MB, free: 15.42 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.3472/0.3472, allocations: 44.17 MB / 336.8 MB, free: 2.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 64.69 kB / 408.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1564, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.006499/0.1629, allocations: 3.309 MB / 472.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.1652, allocations: 0.7906 MB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.1657, allocations: 8 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.166, allocations: 55.55 kB / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005334/0.1666, allocations: 154.8 kB / 473.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.1669, allocations: 87.92 kB / 473.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008524/0.1678, allocations: 0.5715 MB / 474.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.1682, allocations: 150 kB / 474.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.1686, allocations: 203.2 kB / 474.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.1689, allocations: 230.9 kB / 474.7 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.169, allocations: 28 kB / 474.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.1691, allocations: 28 kB / 474.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1693, allocations: 87.62 kB / 474.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.1696, allocations: 250.8 kB / 475.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.1702, allocations: 410.9 kB / 475.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1702, allocations: 3.938 kB / 475.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1702, allocations: 4 kB / 475.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.1702, allocations: 0 / 475.5 MB, free: 8.465 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.001586/0.1718, allocations: 0.7562 MB / 476.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1719, allocations: 8.031 kB / 476.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.172, allocations: 56.38 kB / 476.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.1726, allocations: 318.4 kB / 476.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.1726, allocations: 37.38 kB / 476.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.1728, allocations: 52.28 kB / 476.7 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1738, allocations: 438.9 kB / 477.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/0.1739, allocations: 11.91 kB / 477.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.392e-05/0.174, allocations: 16 kB / 477.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.174, allocations: 15.98 kB / 477.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007882/0.1748, allocations: 324.4 kB / 477.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.1776, allocations: 1.142 MB / 478.7 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.1788, allocations: 492.9 kB / 479.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.1794, allocations: 218.9 kB / 479.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.1794, allocations: 4.438 kB / 479.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.1795, allocations: 42.98 kB / 479.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 4.048e-06/0.1795, allocations: 0 / 479.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=74): time 0.004232/0.1837, allocations: 2.135 MB / 481.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.1838, allocations: 81.67 kB / 481.6 MB, free: 1.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.1842, allocations: 258.9 kB / 481.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.1843, allocations: 41.7 kB / 481.9 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1844, allocations: 209 kB / 482.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.1847, allocations: 264.1 kB / 482.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.1849, allocations: 130.6 kB / 482.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1851, allocations: 358.7 kB / 482.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003598/0.1855, allocations: 157.9 kB / 483 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004672/0.186, allocations: 281.2 kB / 483.3 MB, free: 232 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008852/0.1868, allocations: 466.9 kB / 483.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.1869, allocations: 8 kB / 483.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001177/0.1881, allocations: 0.5668 MB / 484.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1881, allocations: 4 kB / 484.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1881, allocations: 7.938 kB / 484.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.582e-05/0.1882, allocations: 8 kB / 484.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008802/0.189, allocations: 175.7 kB / 484.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.1891, allocations: 4 kB / 484.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.1895, allocations: 36.27 kB / 484.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.1896, allocations: 27.94 kB / 484.6 MB, free: 14.89 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.0002818/0.1899, allocations: 181.6 kB / 484.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.19, allocations: 43.53 kB / 484.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.1902, allocations: 55.64 kB / 484.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.1902, allocations: 4 kB / 484.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.1902, allocations: 4 kB / 484.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.1902, allocations: 3.984 kB / 484.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.193, allocations: 1.462 MB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.193, allocations: 4 kB / 486.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009407/0.1939, allocations: 155.8 kB / 486.5 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.246e-05/0.194, allocations: 7.938 kB / 486.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.194, allocations: 27.92 kB / 486.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/0.1941, allocations: 4 kB / 486.5 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.1941, allocations: 4 kB / 486.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.1956, allocations: 0.9077 MB / 487.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.1958, allocations: 116.5 kB / 487.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.1959, allocations: 23.94 kB / 487.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.1964, allocations: 16 kB / 487.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.1965, allocations: 52.31 kB / 487.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.1966, allocations: 24 kB / 487.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.1968, allocations: 177.9 kB / 487.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1969, allocations: 0 / 487.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009389/0.1978, allocations: 148 kB / 488 MB, free: 11.31 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.000198/0.198, allocations: 123 kB / 488.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.1992, allocations: 463.7 kB / 488.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.1992, allocations: 0 / 488.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005595/0.1998, allocations: 234.2 kB / 488.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01815/0.2179, allocations: 118.5 kB / 488.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.2229, allocations: 1.886 MB / 490.8 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.2236, allocations: 0.8565 MB / 491.6 MB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/0.224, allocations: 47.38 kB / 491.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of SimCode: time 2.185e-06/0.224, allocations: 0 / 491.7 MB, free: 7.492 MB / 366.1 MB Notification: Performance of Templates: time 0.03252/0.2565, allocations: 5.941 MB / 497.6 MB, free: 1.578 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/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