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.001289/0.001289, allocations: 113.2 kB / 17.78 MB, free: 5.242 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.001255/0.001254, allocations: 185 kB / 18.71 MB, free: 4.32 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.483/1.483, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2131/0.2131, allocations: 44.17 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 470.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4631, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005375/0.4685, allocations: 4.112 MB / 0.5229 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003158/0.4717, allocations: 1.078 MB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005847/0.4723, allocations: 13.91 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.4727, allocations: 99.38 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005974/0.4734, allocations: 197.4 kB / 0.5242 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.4742, allocations: 200.6 kB / 0.5244 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001077/0.4753, allocations: 0.785 MB / 0.5252 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.4758, allocations: 235 kB / 0.5254 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004663/0.4762, allocations: 311.1 kB / 0.5257 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.4767, allocations: 339.5 kB / 0.526 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.037e-05/0.4768, allocations: 59.12 kB / 0.5261 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.477, allocations: 87.55 kB / 0.5262 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.4771, allocations: 145.1 kB / 0.5263 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.4775, allocations: 353.3 kB / 0.5267 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009895/0.4785, allocations: 0.7681 MB / 0.5274 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.4785, allocations: 0 / 0.5274 GB, free: 14.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4786, allocations: 0 / 0.5274 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.4786, allocations: 1.188 kB / 0.5274 GB, free: 14.02 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.002006/0.4806, allocations: 0.9996 MB / 0.5284 GB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.4806, allocations: 9.625 kB / 0.5284 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.4808, allocations: 74.59 kB / 0.5285 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.4814, allocations: 408 kB / 0.5289 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.4814, allocations: 40.19 kB / 0.5289 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.4816, allocations: 71.5 kB / 0.529 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.4829, allocations: 0.6243 MB / 0.5296 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.4829, allocations: 7.188 kB / 0.5296 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.483, allocations: 29.88 kB / 0.5296 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.483, allocations: 15.38 kB / 0.5296 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.4842, allocations: 0.521 MB / 0.5301 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003312/0.4876, allocations: 2.163 MB / 0.5322 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.489, allocations: 0.6957 MB / 0.5329 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.4897, allocations: 344 kB / 0.5333 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.4899, allocations: 101.7 kB / 0.5333 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.49, allocations: 52.47 kB / 0.5334 GB, free: 9.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 3.196e-06/0.49, allocations: 0 / 0.5334 GB, free: 9.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=115): time 0.009266/0.4992, allocations: 4.49 MB / 0.5378 GB, free: 6.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.4994, allocations: 218.7 kB / 0.538 GB, free: 5.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000518/0.5, allocations: 373.3 kB / 0.5383 GB, free: 5.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/0.5, allocations: 47.2 kB / 0.5384 GB, free: 5.695 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.5003, allocations: 267 kB / 0.5386 GB, free: 5.453 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.5006, allocations: 408.9 kB / 0.539 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.5009, allocations: 176.4 kB / 0.5392 GB, free: 4.984 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5011, allocations: 379.1 kB / 0.5396 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006791/0.5018, allocations: 318.8 kB / 0.5399 GB, free: 4.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009174/0.5027, allocations: 0.5037 MB / 0.5404 GB, free: 4.109 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.5043, allocations: 0.8754 MB / 0.5412 GB, free: 3.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5043, allocations: 5 kB / 0.5412 GB, free: 3.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001969/0.5063, allocations: 1.004 MB / 0.5422 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.5064, allocations: 14.7 kB / 0.5422 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.5064, allocations: 4.875 kB / 0.5422 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.5064, allocations: 10.25 kB / 0.5422 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.5075, allocations: 279.7 kB / 0.5425 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.5075, allocations: 19.94 kB / 0.5425 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.5081, allocations: 55.89 kB / 0.5426 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/0.5082, allocations: 40 kB / 0.5426 GB, free: 2.859 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.000408/0.5086, allocations: 225.6 kB / 0.5428 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.5089, allocations: 75.09 kB / 0.5429 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004895/0.5094, allocations: 218.9 kB / 0.5431 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.5094, allocations: 16 kB / 0.5431 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/0.5094, allocations: 0 / 0.5431 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.5094, allocations: 7.984 kB / 0.5431 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.5133, allocations: 2.333 MB / 0.5454 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.5133, allocations: 4 kB / 0.5454 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.5144, allocations: 251.7 kB / 0.5457 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.5144, allocations: 8 kB / 0.5457 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/0.5145, allocations: 28.22 kB / 0.5457 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.5145, allocations: 15.98 kB / 0.5457 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.5145, allocations: 7.938 kB / 0.5457 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.5172, allocations: 1.894 MB / 0.5476 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/0.5175, allocations: 200.2 kB / 0.5477 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.5176, allocations: 31.94 kB / 0.5478 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/0.5182, allocations: 47.97 kB / 0.5478 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.5184, allocations: 88.33 kB / 0.5479 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.485e-05/0.5185, allocations: 35.98 kB / 0.5479 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002785/0.5187, allocations: 255.2 kB / 0.5482 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5188, allocations: 0 / 0.5482 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009735/0.5197, allocations: 196 kB / 0.5484 GB, free: 12.77 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.0002075/0.52, allocations: 135.3 kB / 0.5485 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.5217, allocations: 0.8462 MB / 0.5493 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5217, allocations: 0 / 0.5493 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.5226, allocations: 0.4889 MB / 0.5498 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.5239, allocations: 136.8 kB / 0.5499 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/0.5275, allocations: 2.192 MB / 0.5521 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.5282, allocations: 0.9439 MB / 0.553 GB, free: 7.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004389/0.5286, allocations: 101.7 kB / 0.5531 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.5288, allocations: 63.42 kB / 0.5532 GB, free: 7.766 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5288, allocations: 0 / 0.5532 GB, free: 7.766 MB / 414.1 MB Notification: Performance of Templates: time 0.01401/0.5428, allocations: 7.449 MB / 0.5604 GB, free: 384 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