Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007581/0.007581, allocations: 100.9 kB / 15.87 MB, free: 6.309 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.001558/0.001558, allocations: 191.4 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4815/0.4815, allocations: 43.49 MB / 313.5 MB, free: 8.488 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.001919, allocations: 67.91 kB / 382 MB, free: 8.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1573, allocations: 57.79 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00602/0.1634, allocations: 4.112 MB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.1664, allocations: 1.103 MB / 445 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000414/0.1669, allocations: 15.94 kB / 445 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.1672, allocations: 71.39 kB / 445.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.1677, allocations: 174.6 kB / 445.3 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.1683, allocations: 163.8 kB / 445.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.169, allocations: 0.7393 MB / 446.2 MB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003322/0.1693, allocations: 219 kB / 446.4 MB, free: 8.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003406/0.1697, allocations: 274.9 kB / 446.7 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.17, allocations: 330.5 kB / 447 MB, free: 7.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1701, allocations: 40 kB / 447 MB, free: 7.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.1703, allocations: 67.92 kB / 447.1 MB, free: 7.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1704, allocations: 119.5 kB / 447.2 MB, free: 7.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.1708, allocations: 330.2 kB / 447.5 MB, free: 7.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.1714, allocations: 0.7278 MB / 448.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1715, allocations: 0 / 448.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1715, allocations: 0 / 448.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.1715, allocations: 0 / 448.3 MB, free: 6.348 MB / 382.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.001921/0.1734, allocations: 0.9936 MB / 449.3 MB, free: 5.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1734, allocations: 12.03 kB / 449.3 MB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.1736, allocations: 76 kB / 449.3 MB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.174, allocations: 397.8 kB / 449.7 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.1741, allocations: 45.69 kB / 449.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.1742, allocations: 64.28 kB / 449.8 MB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1754, allocations: 0.6268 MB / 450.5 MB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.1755, allocations: 19.8 kB / 450.5 MB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.1755, allocations: 20 kB / 450.5 MB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.1756, allocations: 16 kB / 450.5 MB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.1766, allocations: 0.5332 MB / 451.1 MB, free: 3.438 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.1796, allocations: 2.165 MB / 453.2 MB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001177/0.1808, allocations: 0.703 MB / 453.9 MB, free: 400 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.1814, allocations: 347.5 kB / 454.3 MB, free: 32 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2682/0.4496, allocations: 90.59 kB / 454.3 MB, free: 48.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.712e-05/0.4497, allocations: 49.56 kB / 454.4 MB, free: 48.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.476e-06/0.4497, allocations: 0 / 454.4 MB, free: 48.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.007703/0.4574, allocations: 4.487 MB / 458.9 MB, free: 46.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.4575, allocations: 226.7 kB / 459.1 MB, free: 46.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.4578, allocations: 366.2 kB / 459.5 MB, free: 46.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.4579, allocations: 44.52 kB / 459.5 MB, free: 46.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.458, allocations: 269.2 kB / 459.8 MB, free: 45.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.4582, allocations: 415.2 kB / 460.2 MB, free: 45.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.4584, allocations: 175 kB / 460.3 MB, free: 45.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.4585, allocations: 380.3 kB / 460.7 MB, free: 45.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.4591, allocations: 316.2 kB / 461 MB, free: 45.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.4597, allocations: 0.5082 MB / 461.5 MB, free: 45.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.461, allocations: 0.872 MB / 462.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.461, allocations: 2.625 kB / 462.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001549/0.4625, allocations: 0.9995 MB / 463.4 MB, free: 44.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.4626, allocations: 8.438 kB / 463.4 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.4626, allocations: 6.812 kB / 463.4 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.4626, allocations: 13.94 kB / 463.4 MB, free: 44.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000964/0.4636, allocations: 280.9 kB / 463.7 MB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.4636, allocations: 14.7 kB / 463.7 MB, free: 44.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.4641, allocations: 53.23 kB / 463.8 MB, free: 44.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/0.4642, allocations: 40.7 kB / 463.8 MB, free: 44.3 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.4645, allocations: 226.6 kB / 464 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.4647, allocations: 79.88 kB / 464.1 MB, free: 44.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.4651, allocations: 227.7 kB / 464.3 MB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4651, allocations: 13.12 kB / 464.3 MB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.239e-05/0.4651, allocations: 1.422 kB / 464.4 MB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4652, allocations: 5.328 kB / 464.4 MB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.4683, allocations: 2.35 MB / 466.7 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4684, allocations: 3.812 kB / 466.7 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009699/0.4693, allocations: 249.7 kB / 467 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.4694, allocations: 10.28 kB / 467 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.4694, allocations: 31.44 kB / 467 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/0.4694, allocations: 16.09 kB / 467 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4695, allocations: 8.281 kB / 467 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.4718, allocations: 1.899 MB / 468.9 MB, free: 41.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.4722, allocations: 193.3 kB / 469.1 MB, free: 41.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.4723, allocations: 28.14 kB / 469.1 MB, free: 41.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.473, allocations: 44.05 kB / 469.2 MB, free: 41.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.4732, allocations: 88.58 kB / 469.3 MB, free: 41.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/0.4733, allocations: 35 kB / 469.3 MB, free: 41.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003716/0.4737, allocations: 256.3 kB / 469.5 MB, free: 41.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4737, allocations: 0 / 469.5 MB, free: 41.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001133/0.4748, allocations: 193.4 kB / 469.7 MB, free: 41.12 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 (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.0002999/0.4751, allocations: 139.4 kB / 469.9 MB, free: 41.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.477, allocations: 0.8517 MB / 470.7 MB, free: 40.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4771, allocations: 0 / 470.7 MB, free: 40.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.4779, allocations: 0.4892 MB / 471.2 MB, free: 40.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.4791, allocations: 126.2 kB / 471.3 MB, free: 40.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.4826, allocations: 2.487 MB / 473.8 MB, free: 38.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.4831, allocations: 0.9511 MB / 474.8 MB, free: 38.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.4836, allocations: 98.06 kB / 474.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.4838, allocations: 59.31 kB / 474.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4838, allocations: 0 / 474.9 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Templates: time 0.01327/0.497, allocations: 6.755 MB / 481.7 MB, free: 37.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches