Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.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.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001549/0.001549, allocations: 116.1 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001841/0.001841, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.11 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 70.78 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1352, allocations: 62.45 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005506/0.1408, allocations: 4.189 MB / 483.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.1431, allocations: 1.165 MB / 484.8 MB, free: 252 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.1434, allocations: 19.88 kB / 484.8 MB, free: 232 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1436, allocations: 71.39 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.1441, allocations: 174.6 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005783/0.1447, allocations: 199.7 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1457, allocations: 0.7939 MB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.1461, allocations: 235.5 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003803/0.1465, allocations: 314.9 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.1468, allocations: 350.3 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.1469, allocations: 60 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1471, allocations: 87.98 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.1472, allocations: 147.4 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.1475, allocations: 358.2 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007529/0.1483, allocations: 0.767 MB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1483, allocations: 4 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1483, allocations: 0 / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1483, allocations: 0 / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001876/0.1502, allocations: 1.009 MB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1502, allocations: 8.031 kB / 489.4 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007913/0.151, allocations: 147.9 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.1517, allocations: 421.6 kB / 489.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.1518, allocations: 41.69 kB / 490 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.942e-05/0.1519, allocations: 68.28 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.153, allocations: 0.6232 MB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.153, allocations: 11.89 kB / 490.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.1531, allocations: 31.94 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.1531, allocations: 12 kB / 490.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.1541, allocations: 0.519 MB / 491.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003207/0.1573, allocations: 2.167 MB / 493.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.159, allocations: 0.692 MB / 494.1 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006539/0.1597, allocations: 342.1 kB / 494.4 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/0.1599, allocations: 97.83 kB / 494.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.16, allocations: 50.94 kB / 494.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.595e-06/0.16, allocations: 0 / 494.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.008897/0.1689, allocations: 4.484 MB / 499.1 MB, free: 1.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.1691, allocations: 222.2 kB / 499.3 MB, free: 1.031 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.1695, allocations: 389.9 kB / 499.7 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.1696, allocations: 45.7 kB / 499.7 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.1699, allocations: 281 kB / 500 MB, free: 320 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005412/0.1704, allocations: 414 kB / 0.4887 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.1708, allocations: 175 kB / 0.4888 GB, free: 15.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003364/0.1711, allocations: 386.8 kB / 0.4892 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/0.1717, allocations: 306.4 kB / 0.4895 GB, free: 15.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008331/0.1726, allocations: 0.5004 MB / 0.49 GB, free: 14.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.174, allocations: 0.858 MB / 0.4908 GB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.174, allocations: 0 / 0.4908 GB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001982/0.176, allocations: 0.9995 MB / 0.4918 GB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.176, allocations: 8 kB / 0.4918 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.176, allocations: 8 kB / 0.4918 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.1761, allocations: 16.27 kB / 0.4918 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.1771, allocations: 275.6 kB / 0.4921 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.1771, allocations: 13.48 kB / 0.4921 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.1777, allocations: 43.92 kB / 0.4921 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-05/0.1778, allocations: 43.98 kB / 0.4922 GB, free: 12.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.0003894/0.1782, allocations: 233.5 kB / 0.4924 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.1785, allocations: 79.09 kB / 0.4925 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.1789, allocations: 223.1 kB / 0.4927 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.1789, allocations: 15.98 kB / 0.4927 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.179, allocations: 0 / 0.4927 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.179, allocations: 7.984 kB / 0.4927 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004079/0.1831, allocations: 2.351 MB / 0.495 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.1831, allocations: 8.062 kB / 0.495 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.1842, allocations: 247.7 kB / 0.4953 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.166e-05/0.1843, allocations: 11.94 kB / 0.4953 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.1843, allocations: 27.98 kB / 0.4953 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.1844, allocations: 11.94 kB / 0.4953 GB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1844, allocations: 4 kB / 0.4953 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003095/0.1875, allocations: 1.885 MB / 0.4971 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.1878, allocations: 204.1 kB / 0.4973 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.1879, allocations: 24 kB / 0.4974 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006323/0.1885, allocations: 35.98 kB / 0.4974 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.1887, allocations: 88.38 kB / 0.4975 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.1888, allocations: 36.19 kB / 0.4975 GB, free: 6.488 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000272/0.1891, allocations: 271 kB / 0.4978 GB, free: 6.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1891, allocations: 7.938 kB / 0.4978 GB, free: 6.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009152/0.19, allocations: 192 kB / 0.498 GB, free: 6.027 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * 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.0002094/0.1902, allocations: 141 kB / 0.4981 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002174/0.1924, allocations: 0.8782 MB / 0.499 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1924, allocations: 0 / 0.499 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008575/0.1933, allocations: 490.6 kB / 0.4994 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.1946, allocations: 146.3 kB / 0.4996 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.1989, allocations: 2.52 MB / 0.502 GB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.1996, allocations: 0.9557 MB / 0.503 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004523/0.2001, allocations: 102 kB / 0.5031 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.2004, allocations: 63.42 kB / 0.5031 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2004, allocations: 0 / 0.5031 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of Templates: time 0.286/0.4864, allocations: 7.178 MB / 0.5101 GB, free: 40.21 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches