Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 46.97 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 59.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005968/0.3469, allocations: 3.757 MB / 0.5655 GB, free: 416 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.3497, allocations: 1.149 MB / 0.5666 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.3499, allocations: 19.81 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.3502, allocations: 98.95 kB / 0.5667 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.3507, allocations: 210.1 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.3513, allocations: 231.6 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008604/0.3521, allocations: 0.8016 MB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003142/0.3524, allocations: 171.7 kB / 0.5681 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.3529, allocations: 330.8 kB / 0.5684 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004551/0.3533, allocations: 342.5 kB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.3534, allocations: 60 kB / 0.5688 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.3537, allocations: 95.92 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.3538, allocations: 143.5 kB / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.3542, allocations: 298.5 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009754/0.3551, allocations: 0.7923 MB / 0.5701 GB, free: 11.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3551, allocations: 4 kB / 0.5701 GB, free: 11.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3551, allocations: 3.938 kB / 0.5701 GB, free: 11.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3552, allocations: 0 / 0.5701 GB, free: 11.68 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.002154/0.3573, allocations: 0.9525 MB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.3574, allocations: 8.031 kB / 0.571 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007222/0.3581, allocations: 148.3 kB / 0.5712 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006477/0.3587, allocations: 364.1 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.3588, allocations: 45.67 kB / 0.5715 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.3589, allocations: 68.33 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.3601, allocations: 0.6232 MB / 0.5722 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.3602, allocations: 7.953 kB / 0.5722 GB, free: 9.391 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.006e-05/0.3602, allocations: 28 kB / 0.5723 GB, free: 9.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.3602, allocations: 16 kB / 0.5723 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.3614, allocations: 0.5112 MB / 0.5728 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.3646, allocations: 1.907 MB / 0.5746 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.3659, allocations: 0.6571 MB / 0.5753 GB, free: 6.105 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005995/0.3665, allocations: 326.1 kB / 0.5756 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.3667, allocations: 24.42 kB / 0.5756 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3667, allocations: 46.94 kB / 0.5757 GB, free: 5.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.584e-06/0.3667, allocations: 0 / 0.5757 GB, free: 5.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008139/0.3748, allocations: 3.945 MB / 0.5795 GB, free: 1.551 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.375, allocations: 222.2 kB / 0.5797 GB, free: 1.285 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004477/0.3754, allocations: 397.8 kB / 0.5801 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/0.3755, allocations: 45.7 kB / 0.5801 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.3757, allocations: 281.5 kB / 0.5804 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003634/0.3761, allocations: 436.2 kB / 0.5808 GB, free: 128 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002949/0.3764, allocations: 175 kB / 0.581 GB, free: 15.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.3766, allocations: 386.7 kB / 0.5814 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008609/0.3775, allocations: 310.4 kB / 0.5817 GB, free: 15.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008493/0.3783, allocations: 0.4965 MB / 0.5821 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.3802, allocations: 0.8506 MB / 0.583 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3802, allocations: 8 kB / 0.583 GB, free: 13.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002044/0.3822, allocations: 0.9962 MB / 0.584 GB, free: 12.76 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3822, allocations: 15.92 kB / 0.584 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.3823, allocations: 4 kB / 0.584 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/0.3823, allocations: 12 kB / 0.584 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.3835, allocations: 275.6 kB / 0.5842 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/0.3835, allocations: 12.09 kB / 0.5843 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.384, allocations: 39.98 kB / 0.5843 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.3841, allocations: 52.14 kB / 0.5843 GB, free: 12.36 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.0003461/0.3844, allocations: 229.7 kB / 0.5846 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.3847, allocations: 87.45 kB / 0.5846 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.3852, allocations: 223.1 kB / 0.5849 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.3852, allocations: 7.984 kB / 0.5849 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.3852, allocations: 0 / 0.5849 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.3855, allocations: 131.4 kB / 0.585 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.3857, allocations: 24 kB / 0.585 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.3862, allocations: 36.05 kB / 0.585 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.3864, allocations: 92.38 kB / 0.5851 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002656/0.3891, allocations: 1.512 MB / 0.5866 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002709/0.3918, allocations: 1.946 MB / 0.5885 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007183/0.3925, allocations: 388.9 kB / 0.5889 GB, free: 7.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003163/0.3928, allocations: 263.1 kB / 0.5891 GB, free: 7.41 MB / 430.1 MB Notification: Performance of Backend: time 7.42e-07/0.3928, allocations: 0 / 0.5891 GB, free: 7.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.3948, allocations: 0.5954 MB / 0.5897 GB, free: 6.809 MB / 430.1 MB Notification: Performance of SimCode: time 0.003503/0.3983, allocations: 2.426 MB / 0.5921 GB, free: 4.332 MB / 430.1 MB Notification: Performance of Templates: time 0.02037/0.4186, allocations: 11.39 MB / 0.6032 GB, free: 9.051 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.390497095999308]