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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3498/0.3498, allocations: 46.88 MB / 361.3 MB, free: 4.465 MB / 286.1 MB
"
[Timeout remaining time 179]
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=5004,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=5004,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") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 83.86 kB / 0.497 GB, free: 7.617 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3541, allocations: 66.02 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006081/0.3602, allocations: 4.2 MB / 0.5656 GB, free: 428 kB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002455/0.3626, allocations: 1.196 MB / 0.5668 GB, free: 15.22 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.3629, allocations: 23.81 kB / 0.5668 GB, free: 15.2 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002619/0.3632, allocations: 98.95 kB / 0.5669 GB, free: 15.1 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000467/0.3637, allocations: 210.1 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.3643, allocations: 227.6 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009639/0.3652, allocations: 0.7978 MB / 0.5681 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.3656, allocations: 175.7 kB / 0.5683 GB, free: 13.7 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004696/0.3661, allocations: 330.8 kB / 0.5686 GB, free: 13.37 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.3665, allocations: 346.5 kB / 0.5689 GB, free: 13.03 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.3667, allocations: 56 kB / 0.569 GB, free: 12.98 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.3669, allocations: 91.98 kB / 0.569 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.3671, allocations: 147.5 kB / 0.5692 GB, free: 12.74 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.3674, allocations: 358.2 kB / 0.5695 GB, free: 12.39 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001041/0.3685, allocations: 0.7884 MB / 0.5703 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3685, allocations: 0 / 0.5703 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.3685, allocations: 0 / 0.5703 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.175e-05/0.3685, allocations: 0 / 0.5703 GB, free: 11.6 MB / 414.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.002062/0.3706, allocations: 0.9565 MB / 0.5712 GB, free: 10.61 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3706, allocations: 12.03 kB / 0.5712 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000719/0.3713, allocations: 144.3 kB / 0.5714 GB, free: 10.46 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006362/0.372, allocations: 372.1 kB / 0.5717 GB, free: 10.07 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.372, allocations: 37.69 kB / 0.5718 GB, free: 10.03 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.3721, allocations: 68.33 kB / 0.5718 GB, free: 9.965 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.3734, allocations: 0.6271 MB / 0.5725 GB, free: 9.309 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.3734, allocations: 7.953 kB / 0.5725 GB, free: 9.301 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.3735, allocations: 24 kB / 0.5725 GB, free: 9.277 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.3735, allocations: 16 kB / 0.5725 GB, free: 9.262 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.3747, allocations: 0.5151 MB / 0.573 GB, free: 8.746 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.3781, allocations: 2.113 MB / 0.5751 GB, free: 6.516 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.3795, allocations: 0.6573 MB / 0.5757 GB, free: 5.793 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.3801, allocations: 322.7 kB / 0.576 GB, free: 5.461 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.3802, allocations: 20.42 kB / 0.576 GB, free: 5.441 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/0.3802, allocations: 46.94 kB / 0.5761 GB, free: 5.387 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=83): time 2.084e-06/0.3802, allocations: 0 / 0.5761 GB, free: 5.387 MB / 414.1 MB
Notification: Performance of matching and sorting (n=116): time 0.008198/0.3884, allocations: 3.95 MB / 0.5799 GB, free: 1.242 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.3886, allocations: 222.2 kB / 0.5801 GB, free: 0.9766 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.389, allocations: 393.9 kB / 0.5805 GB, free: 0.5859 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.3891, allocations: 41.7 kB / 0.5806 GB, free: 0.5391 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.3893, allocations: 285.5 kB / 0.5808 GB, free: 260 kB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000369/0.3897, allocations: 436.4 kB / 0.5813 GB, free: 15.82 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.3899, allocations: 183 kB / 0.5814 GB, free: 15.63 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002161/0.3902, allocations: 378.8 kB / 0.5818 GB, free: 15.25 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/0.3908, allocations: 314.4 kB / 0.5821 GB, free: 14.95 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008192/0.3916, allocations: 0.4926 MB / 0.5826 GB, free: 14.39 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.3932, allocations: 0.855 MB / 0.5834 GB, free: 13.46 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3932, allocations: 4 kB / 0.5834 GB, free: 13.46 MB / 430.1 MB
Notification: Performance of matching and sorting (n=145) (initialization): time 0.002046/0.3952, allocations: 0.9992 MB / 0.5844 GB, free: 12.45 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.3953, allocations: 8 kB / 0.5844 GB, free: 12.45 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.3953, allocations: 4.438 kB / 0.5844 GB, free: 12.44 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.742e-05/0.3953, allocations: 16 kB / 0.5844 GB, free: 12.43 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.3964, allocations: 275.6 kB / 0.5847 GB, free: 12.16 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.3965, allocations: 15.94 kB / 0.5847 GB, free: 12.14 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.3969, allocations: 47.97 kB / 0.5847 GB, free: 12.09 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.397, allocations: 36 kB / 0.5848 GB, free: 12.06 MB / 430.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.0003567/0.3973, allocations: 234.8 kB / 0.585 GB, free: 11.82 MB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.3976, allocations: 91.47 kB / 0.5851 GB, free: 11.73 MB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.3981, allocations: 227.1 kB / 0.5853 GB, free: 11.5 MB / 430.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.3981, allocations: 12 kB / 0.5853 GB, free: 11.49 MB / 430.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.3981, allocations: 0 / 0.5853 GB, free: 11.49 MB / 430.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.3981, allocations: 11.97 kB / 0.5853 GB, free: 11.48 MB / 430.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.402, allocations: 2.284 MB / 0.5875 GB, free: 9.098 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.402, allocations: 4 kB / 0.5876 GB, free: 9.094 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.403, allocations: 243.7 kB / 0.5878 GB, free: 8.855 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/0.4031, allocations: 16.22 kB / 0.5878 GB, free: 8.84 MB / 430.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/0.4031, allocations: 31.98 kB / 0.5878 GB, free: 8.809 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.4031, allocations: 9.562 kB / 0.5878 GB, free: 8.801 MB / 430.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.423e-06/0.4031, allocations: 8.078 kB / 0.5878 GB, free: 8.793 MB / 430.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.4058, allocations: 1.886 MB / 0.5897 GB, free: 6.867 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.4062, allocations: 131.4 kB / 0.5898 GB, free: 6.738 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4063, allocations: 32 kB / 0.5898 GB, free: 6.707 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.4068, allocations: 31.98 kB / 0.5899 GB, free: 6.676 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.407, allocations: 96.38 kB / 0.59 GB, free: 6.582 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/0.4071, allocations: 31.98 kB / 0.59 GB, free: 6.551 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0003408/0.4074, allocations: 267.1 kB / 0.5903 GB, free: 6.289 MB / 430.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.4074, allocations: 4 kB / 0.5903 GB, free: 6.285 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.0009165/0.4083, allocations: 192 kB / 0.5904 GB, free: 6.098 MB / 430.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.0002645/0.4086, allocations: 147.1 kB / 0.5906 GB, free: 5.945 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.001705/0.4103, allocations: 0.7966 MB / 0.5914 GB, free: 5.148 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.4103, allocations: 8 kB / 0.5914 GB, free: 5.141 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.4112, allocations: 468.5 kB / 0.5918 GB, free: 4.684 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.4124, allocations: 134 kB / 0.5919 GB, free: 4.559 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.4161, allocations: 2.225 MB / 0.5941 GB, free: 2.25 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.4168, allocations: 0.9557 MB / 0.595 GB, free: 1.262 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0003922/0.4172, allocations: 105.9 kB / 0.5951 GB, free: 1.156 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.4174, allocations: 63.42 kB / 0.5952 GB, free: 1.098 MB / 430.1 MB
Notification: Performance of SimCode: time 7.11e-07/0.4174, allocations: 0 / 0.5952 GB, free: 1.098 MB / 430.1 MB
Notification: Performance of Templates: time 0.01656/0.4339, allocations: 8.167 MB / 0.6032 GB, free: 8.988 MB / 446.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660]
(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) [Timeout 480]
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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.736882713623345]