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.001761/0.001761, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002183/0.002183, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.224/0.224, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 75.88 kB / 481.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4061, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005529/0.4117, allocations: 4.17 MB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.4141, allocations: 1.175 MB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.4144, allocations: 14.72 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.4147, allocations: 104.7 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.4152, allocations: 211.2 kB / 0.5365 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.4158, allocations: 231 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008388/0.4166, allocations: 0.8011 MB / 0.5375 GB, free: 8.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003866/0.417, allocations: 238.6 kB / 0.5377 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.4175, allocations: 323.4 kB / 0.538 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004224/0.4179, allocations: 343.2 kB / 0.5384 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.706e-05/0.418, allocations: 57.5 kB / 0.5384 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.4182, allocations: 93.14 kB / 0.5385 GB, free: 7.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.4184, allocations: 149.2 kB / 0.5387 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.4187, allocations: 360.4 kB / 0.539 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007907/0.4195, allocations: 0.7839 MB / 0.5398 GB, free: 6.902 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.4195, allocations: 0 / 0.5398 GB, free: 6.902 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4195, allocations: 0 / 0.5398 GB, free: 6.902 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.4196, allocations: 4 kB / 0.5398 GB, free: 6.898 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001834/0.4214, allocations: 1.005 MB / 0.5408 GB, free: 6.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.4215, allocations: 10.09 kB / 0.5408 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006979/0.4222, allocations: 146.8 kB / 0.5409 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005995/0.4228, allocations: 434.6 kB / 0.5413 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.817e-05/0.4229, allocations: 45.19 kB / 0.5414 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.423, allocations: 68.47 kB / 0.5414 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.4241, allocations: 0.6158 MB / 0.542 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.4242, allocations: 16.61 kB / 0.542 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.193e-05/0.4242, allocations: 25.03 kB / 0.5421 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4243, allocations: 14.72 kB / 0.5421 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.4253, allocations: 0.5096 MB / 0.5426 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.4285, allocations: 2.165 MB / 0.5447 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.4299, allocations: 0.6905 MB / 0.5454 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/0.4304, allocations: 338.6 kB / 0.5457 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.4306, allocations: 97.48 kB / 0.5458 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.4307, allocations: 43 kB / 0.5458 GB, free: 2.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.935e-06/0.4307, allocations: 0 / 0.5458 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.008432/0.4391, allocations: 4.501 MB / 0.5502 GB, free: 13.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.4393, allocations: 226.3 kB / 0.5504 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.4398, allocations: 386 kB / 0.5508 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.4399, allocations: 45.7 kB / 0.5508 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.4402, allocations: 281 kB / 0.5511 GB, free: 12.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.4405, allocations: 417.9 kB / 0.5515 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.4408, allocations: 171 kB / 0.5517 GB, free: 11.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.441, allocations: 382.8 kB / 0.552 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006131/0.4416, allocations: 314.4 kB / 0.5523 GB, free: 11.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008199/0.4424, allocations: 0.4965 MB / 0.5528 GB, free: 10.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.444, allocations: 0.8661 MB / 0.5537 GB, free: 9.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.444, allocations: 4 kB / 0.5537 GB, free: 9.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.00187/0.4459, allocations: 0.9879 MB / 0.5546 GB, free: 8.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4459, allocations: 10.19 kB / 0.5547 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4459, allocations: 7.984 kB / 0.5547 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.446, allocations: 12 kB / 0.5547 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.4469, allocations: 276 kB / 0.5549 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-05/0.447, allocations: 19.94 kB / 0.555 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.4474, allocations: 35.98 kB / 0.555 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.4475, allocations: 47.98 kB / 0.555 GB, free: 8.18 MB / 414.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.0003313/0.4478, allocations: 229.5 kB / 0.5553 GB, free: 7.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.448, allocations: 79.09 kB / 0.5553 GB, free: 7.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004791/0.4485, allocations: 231 kB / 0.5555 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.4486, allocations: 16 kB / 0.5556 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.4486, allocations: 0 / 0.5556 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.4486, allocations: 11.97 kB / 0.5556 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.4528, allocations: 2.329 MB / 0.5578 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.4529, allocations: 11.98 kB / 0.5579 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.4539, allocations: 243.7 kB / 0.5581 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.707e-05/0.4539, allocations: 11.94 kB / 0.5581 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.467e-05/0.454, allocations: 23.98 kB / 0.5581 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.454, allocations: 8 kB / 0.5581 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.454, allocations: 16.22 kB / 0.5581 GB, free: 4.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002557/0.4566, allocations: 1.872 MB / 0.56 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/0.457, allocations: 212 kB / 0.5602 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.4571, allocations: 20 kB / 0.5602 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006322/0.4577, allocations: 47.97 kB / 0.5602 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.4579, allocations: 84.33 kB / 0.5603 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.025e-05/0.458, allocations: 32 kB / 0.5604 GB, free: 2.551 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003221/0.4583, allocations: 267.1 kB / 0.5606 GB, free: 2.293 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4583, allocations: 0 / 0.5606 GB, free: 2.293 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009269/0.4592, allocations: 196 kB / 0.5608 GB, free: 2.102 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 (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.0002246/0.4595, allocations: 139.1 kB / 0.5609 GB, free: 1.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.4611, allocations: 0.8365 MB / 0.5617 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.269e-06/0.4611, allocations: 3.938 kB / 0.5618 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008551/0.462, allocations: 486.6 kB / 0.5622 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4633, allocations: 145 kB / 0.5624 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/0.4674, allocations: 2.189 MB / 0.5645 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/0.468, allocations: 0.9518 MB / 0.5654 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004255/0.4684, allocations: 109.9 kB / 0.5655 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.4686, allocations: 67.42 kB / 0.5656 GB, free: 13.09 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4686, allocations: 0 / 0.5656 GB, free: 13.09 MB / 430.1 MB Notification: Performance of Templates: time 0.01525/0.4839, allocations: 7.579 MB / 0.573 GB, free: 5.566 MB / 430.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