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.001366/0.001366, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001779/0.001779, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2349/0.2349, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 75.89 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.411, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005187/0.4163, allocations: 4.16 MB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.4188, allocations: 1.179 MB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003893/0.4192, allocations: 14.19 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.4195, allocations: 101.3 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.42, allocations: 200.3 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.4206, allocations: 231.2 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.4219, allocations: 0.8 MB / 0.5375 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00052/0.4224, allocations: 243.2 kB / 0.5377 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006276/0.423, allocations: 306.2 kB / 0.538 GB, free: 8.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.4235, allocations: 355.9 kB / 0.5384 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.4236, allocations: 58.34 kB / 0.5384 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.4239, allocations: 91.77 kB / 0.5385 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.424, allocations: 149.7 kB / 0.5386 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003742/0.4244, allocations: 356.3 kB / 0.539 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009322/0.4254, allocations: 0.7858 MB / 0.5397 GB, free: 6.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4254, allocations: 0 / 0.5397 GB, free: 6.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4254, allocations: 1.375 kB / 0.5398 GB, free: 6.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.4254, allocations: 0 / 0.5398 GB, free: 6.91 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.00189/0.4273, allocations: 1.026 MB / 0.5408 GB, free: 6.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4273, allocations: 9.281 kB / 0.5408 GB, free: 6.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006857/0.428, allocations: 152.7 kB / 0.5409 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.4286, allocations: 430.7 kB / 0.5413 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.4287, allocations: 44.97 kB / 0.5414 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.4288, allocations: 72.69 kB / 0.5414 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.4301, allocations: 0.6165 MB / 0.542 GB, free: 5.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/0.4301, allocations: 7.797 kB / 0.542 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.4302, allocations: 24.66 kB / 0.5421 GB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.4302, allocations: 18.78 kB / 0.5421 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.4313, allocations: 0.5185 MB / 0.5426 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/0.4346, allocations: 2.158 MB / 0.5447 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.4359, allocations: 0.704 MB / 0.5454 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.4365, allocations: 330.2 kB / 0.5457 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.4366, allocations: 97.78 kB / 0.5458 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.4367, allocations: 54.98 kB / 0.5458 GB, free: 2.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.214e-06/0.4367, allocations: 0 / 0.5458 GB, free: 2.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=116): time 0.008003/0.4447, allocations: 4.54 MB / 0.5503 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.4449, allocations: 222.2 kB / 0.5505 GB, free: 13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.4453, allocations: 393.9 kB / 0.5509 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.4454, allocations: 45.7 kB / 0.5509 GB, free: 12.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.4456, allocations: 285.5 kB / 0.5512 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.4458, allocations: 428.3 kB / 0.5516 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.4461, allocations: 182.9 kB / 0.5518 GB, free: 11.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4463, allocations: 382.8 kB / 0.5521 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.4469, allocations: 306.5 kB / 0.5524 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007411/0.4476, allocations: 0.5004 MB / 0.5529 GB, free: 10.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.4491, allocations: 0.8657 MB / 0.5538 GB, free: 9.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4491, allocations: 3.984 kB / 0.5538 GB, free: 9.477 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001731/0.4508, allocations: 0.9962 MB / 0.5547 GB, free: 8.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.4509, allocations: 4 kB / 0.5547 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.4509, allocations: 8 kB / 0.5547 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/0.4509, allocations: 8 kB / 0.5547 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009903/0.4519, allocations: 279.6 kB / 0.555 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.452, allocations: 15.92 kB / 0.555 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.4524, allocations: 48.17 kB / 0.5551 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.3e-05/0.4525, allocations: 47.98 kB / 0.5551 GB, free: 8.074 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.0003614/0.4529, allocations: 225.6 kB / 0.5553 GB, free: 7.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.4531, allocations: 79.47 kB / 0.5554 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.4536, allocations: 226.9 kB / 0.5556 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.4536, allocations: 12 kB / 0.5556 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.578e-05/0.4536, allocations: 4 kB / 0.5556 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4536, allocations: 7.984 kB / 0.5557 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.457, allocations: 2.333 MB / 0.5579 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.457, allocations: 4 kB / 0.5579 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/0.458, allocations: 251.6 kB / 0.5582 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.458, allocations: 8 kB / 0.5582 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/0.4581, allocations: 32.05 kB / 0.5582 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.4581, allocations: 8 kB / 0.5582 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4581, allocations: 7.938 kB / 0.5582 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/0.4605, allocations: 1.888 MB / 0.5601 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/0.4607, allocations: 204.5 kB / 0.5603 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.4608, allocations: 27.98 kB / 0.5603 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005688/0.4614, allocations: 35.98 kB / 0.5603 GB, free: 2.566 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.4616, allocations: 88.33 kB / 0.5604 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.4616, allocations: 39.98 kB / 0.5605 GB, free: 2.441 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002718/0.4619, allocations: 263.1 kB / 0.5607 GB, free: 2.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4619, allocations: 0 / 0.5607 GB, free: 2.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008315/0.4628, allocations: 196.1 kB / 0.5609 GB, free: 1.996 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.0001861/0.463, allocations: 143.1 kB / 0.561 GB, free: 1.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4645, allocations: 0.8349 MB / 0.5618 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4645, allocations: 0 / 0.5618 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.4652, allocations: 495.1 kB / 0.5623 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.4665, allocations: 146.9 kB / 0.5625 GB, free: 404 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.4698, allocations: 2.225 MB / 0.5646 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.4704, allocations: 0.9479 MB / 0.5656 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004075/0.4708, allocations: 102 kB / 0.5656 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.471, allocations: 67.42 kB / 0.5657 GB, free: 12.95 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.471, allocations: 0 / 0.5657 GB, free: 12.95 MB / 430.1 MB Notification: Performance of Templates: time 0.01297/0.484, allocations: 7.575 MB / 0.5731 GB, free: 5.43 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