Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 113.8 kB / 17.77 MB, free: 5.367 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.001741/0.001741, allocations: 183.1 kB / 18.7 MB, free: 4.441 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.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2407/0.2407, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.89 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4315, allocations: 60.81 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004924/0.4365, allocations: 4.115 MB / 0.5229 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.4388, allocations: 1.067 MB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004147/0.4393, allocations: 18.03 kB / 0.5239 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.4396, allocations: 102.8 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004846/0.4401, allocations: 197 kB / 0.5242 GB, free: 15.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007398/0.4409, allocations: 195.9 kB / 0.5244 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.442, allocations: 0.7841 MB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.4424, allocations: 239.4 kB / 0.5254 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.4428, allocations: 297.3 kB / 0.5257 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.4432, allocations: 339.7 kB / 0.526 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.061e-05/0.4433, allocations: 57.66 kB / 0.5261 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.4435, allocations: 89.47 kB / 0.5262 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.4437, allocations: 142.9 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.444, allocations: 354.6 kB / 0.5266 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.445, allocations: 0.7737 MB / 0.5274 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.445, allocations: 1.281 kB / 0.5274 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.445, allocations: 4 kB / 0.5274 GB, free: 14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4451, allocations: 0 / 0.5274 GB, free: 14 MB / 398.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.00206/0.4471, allocations: 1.011 MB / 0.5284 GB, free: 13.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.4472, allocations: 9.188 kB / 0.5284 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.4474, allocations: 86.77 kB / 0.5285 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006381/0.448, allocations: 403.9 kB / 0.5289 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.628e-05/0.4481, allocations: 48.44 kB / 0.5289 GB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4482, allocations: 65.02 kB / 0.529 GB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.4494, allocations: 0.6191 MB / 0.5296 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/0.4495, allocations: 15.86 kB / 0.5296 GB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.4496, allocations: 21.53 kB / 0.5296 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.66e-05/0.4496, allocations: 14.47 kB / 0.5296 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.4509, allocations: 0.5334 MB / 0.5301 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.4541, allocations: 2.159 MB / 0.5323 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.4555, allocations: 0.7 MB / 0.5329 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006022/0.4561, allocations: 345.1 kB / 0.5333 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.4563, allocations: 96.39 kB / 0.5334 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4563, allocations: 58.03 kB / 0.5334 GB, free: 9.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.4563, allocations: 0 / 0.5334 GB, free: 9.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.008873/0.4652, allocations: 4.539 MB / 0.5378 GB, free: 6.145 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.4654, allocations: 222.6 kB / 0.5381 GB, free: 5.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000465/0.4658, allocations: 362.4 kB / 0.5384 GB, free: 5.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.4659, allocations: 45.92 kB / 0.5384 GB, free: 5.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.4661, allocations: 269.8 kB / 0.5387 GB, free: 5.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.4664, allocations: 426.9 kB / 0.5391 GB, free: 5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.4667, allocations: 183.6 kB / 0.5393 GB, free: 4.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.4669, allocations: 379.9 kB / 0.5396 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.4676, allocations: 317.5 kB / 0.54 GB, free: 4.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.4684, allocations: 0.5076 MB / 0.5404 GB, free: 4.004 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/0.47, allocations: 0.8751 MB / 0.5413 GB, free: 3.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.47, allocations: 6.156 kB / 0.5413 GB, free: 3.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001859/0.4718, allocations: 1.004 MB / 0.5423 GB, free: 2.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.4719, allocations: 14.77 kB / 0.5423 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4719, allocations: 5.094 kB / 0.5423 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.025e-05/0.4719, allocations: 10.91 kB / 0.5423 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.473, allocations: 282.6 kB / 0.5426 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.473, allocations: 12 kB / 0.5426 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.4735, allocations: 47.95 kB / 0.5426 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.4736, allocations: 44.06 kB / 0.5427 GB, free: 2.746 MB / 398.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.0003319/0.4739, allocations: 229.5 kB / 0.5429 GB, free: 2.512 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.4742, allocations: 83.47 kB / 0.543 GB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000462/0.4746, allocations: 214.8 kB / 0.5432 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.4747, allocations: 16 kB / 0.5432 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.4747, allocations: 0 / 0.5432 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4747, allocations: 7.984 kB / 0.5432 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.4786, allocations: 2.345 MB / 0.5455 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.4786, allocations: 0 / 0.5455 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.4796, allocations: 255.7 kB / 0.5457 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.4796, allocations: 8 kB / 0.5458 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.4797, allocations: 31.94 kB / 0.5458 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.4797, allocations: 15.92 kB / 0.5458 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.4797, allocations: 4 kB / 0.5458 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/0.4824, allocations: 1.898 MB / 0.5477 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.4827, allocations: 200.6 kB / 0.5478 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.4829, allocations: 27.94 kB / 0.5479 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/0.4835, allocations: 48.05 kB / 0.5479 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.4837, allocations: 88.31 kB / 0.548 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/0.4838, allocations: 35.98 kB / 0.548 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.4841, allocations: 251.2 kB / 0.5483 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4841, allocations: 0 / 0.5483 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001021/0.4851, allocations: 196 kB / 0.5485 GB, free: 12.64 MB / 414.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.0002064/0.4853, allocations: 143 kB / 0.5486 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.487, allocations: 0.8548 MB / 0.5494 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4871, allocations: 0 / 0.5494 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008444/0.4879, allocations: 491.4 kB / 0.5499 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.4892, allocations: 130.7 kB / 0.55 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.493, allocations: 2.225 MB / 0.5522 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007255/0.4937, allocations: 0.9478 MB / 0.5531 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.4942, allocations: 101.7 kB / 0.5532 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.4944, allocations: 63.42 kB / 0.5533 GB, free: 7.594 MB / 414.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4944, allocations: 0 / 0.5533 GB, free: 7.594 MB / 414.1 MB Notification: Performance of Templates: time 0.01637/0.5108, allocations: 7.445 MB / 0.5606 GB, free: 216 kB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches