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.0009224/0.0009225, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001016/0.001016, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 45.91 MB / 344 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 11.98 kB / 417.9 MB, free: 20.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 63.46 MB / 481.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00382/0.1385, allocations: 3.337 MB / 484.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1406, allocations: 1.103 MB / 485.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002249/0.1409, allocations: 11.94 kB / 485.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.141, allocations: 71.45 kB / 485.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.1415, allocations: 231.4 kB / 486.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.1419, allocations: 143.7 kB / 486.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000619/0.1425, allocations: 0.5268 MB / 486.8 MB, free: 28 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.1429, allocations: 171.1 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003385/0.1432, allocations: 263 kB / 487.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.1435, allocations: 302.7 kB / 487.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/0.1436, allocations: 32 kB / 487.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1438, allocations: 51.98 kB / 487.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1439, allocations: 111.5 kB / 487.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.144, allocations: 141.4 kB / 487.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004776/0.1445, allocations: 0.5416 MB / 488.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1445, allocations: 0 / 488.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1445, allocations: 0 / 488.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.1445, allocations: 0 / 488.4 MB, free: 14.43 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001721/0.1463, allocations: 0.9234 MB / 489.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1463, allocations: 12.03 kB / 489.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/0.147, allocations: 163 kB / 489.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004864/0.1475, allocations: 380.8 kB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.1475, allocations: 41.31 kB / 489.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.704e-05/0.1477, allocations: 67.91 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.1488, allocations: 0.6304 MB / 490.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.1488, allocations: 7.906 kB / 490.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.1489, allocations: 27.94 kB / 490.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1489, allocations: 19.98 kB / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.15, allocations: 0.5646 MB / 491.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.1529, allocations: 2.173 MB / 493.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1542, allocations: 0.7115 MB / 494.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.1543, allocations: 97.83 kB / 494.2 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.1544, allocations: 54.88 kB / 494.2 MB, free: 8.242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.365e-06/0.1544, allocations: 4 kB / 494.2 MB, free: 8.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.007894/0.1623, allocations: 4.606 MB / 498.8 MB, free: 3.281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.1624, allocations: 222.2 kB / 499.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.163, allocations: 373.9 kB / 499.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.163, allocations: 45.7 kB / 499.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.1632, allocations: 268.9 kB / 499.7 MB, free: 2.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003098/0.1635, allocations: 402.1 kB / 0.4884 GB, free: 1.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1636, allocations: 24 kB / 0.4884 GB, free: 1.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1638, allocations: 382.8 kB / 0.4888 GB, free: 1.512 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.1644, allocations: 330.4 kB / 0.4891 GB, free: 1.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.1652, allocations: 0.5195 MB / 0.4896 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.1659, allocations: 395.1 kB / 0.49 GB, free: 224 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1659, allocations: 0 / 0.49 GB, free: 224 kB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001828/0.1677, allocations: 1.039 MB / 0.491 GB, free: 15.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.1678, allocations: 14.12 kB / 0.491 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.1678, allocations: 12.02 kB / 0.491 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.1678, allocations: 12 kB / 0.491 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.1689, allocations: 284 kB / 0.4913 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.1689, allocations: 19.98 kB / 0.4913 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.1694, allocations: 55.97 kB / 0.4914 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/0.1694, allocations: 40 kB / 0.4914 GB, free: 14.75 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 (144): * Single equations (assignments): 144 * 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.000344/0.1698, allocations: 237.5 kB / 0.4916 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/0.1701, allocations: 83.14 kB / 0.4917 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.1705, allocations: 218.8 kB / 0.4919 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.1706, allocations: 15.95 kB / 0.4919 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.1706, allocations: 0 / 0.4919 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.1706, allocations: 11.97 kB / 0.492 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.1743, allocations: 2.375 MB / 0.4943 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.1743, allocations: 4 kB / 0.4943 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.1753, allocations: 259.7 kB / 0.4945 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.1754, allocations: 8.281 kB / 0.4945 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.1754, allocations: 28 kB / 0.4946 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/0.1754, allocations: 15.92 kB / 0.4946 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.1755, allocations: 4.078 kB / 0.4946 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/0.178, allocations: 2.125 MB / 0.4967 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.1783, allocations: 200.3 kB / 0.4968 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.1784, allocations: 28 kB / 0.4969 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/0.179, allocations: 51.97 kB / 0.4969 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.1792, allocations: 88.34 kB / 0.497 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.1792, allocations: 35.98 kB / 0.497 GB, free: 8.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.1795, allocations: 243.2 kB / 0.4973 GB, free: 8.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1795, allocations: 3.938 kB / 0.4973 GB, free: 8.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008789/0.1804, allocations: 196 kB / 0.4975 GB, free: 8.273 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 (115): * Single equations (assignments): 115 * 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.0002018/0.1806, allocations: 147 kB / 0.4976 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.1821, allocations: 0.8662 MB / 0.4985 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1821, allocations: 0 / 0.4985 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008227/0.183, allocations: 0.4998 MB / 0.4989 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008321/0.1838, allocations: 112.3 kB / 0.499 GB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003462/0.1873, allocations: 2.645 MB / 0.5016 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.1878, allocations: 0.9646 MB / 0.5026 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004012/0.1882, allocations: 101.7 kB / 0.5027 GB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.1884, allocations: 59.42 kB / 0.5027 GB, free: 2.773 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1884, allocations: 8 kB / 0.5027 GB, free: 2.766 MB / 382.1 MB Notification: Performance of Templates: time 0.2555/0.4439, allocations: 6.392 MB / 0.509 GB, free: 40.23 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","../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches