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.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.001611/0.001611, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001576/0.001576, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2814/0.2814, allocations: 44.94 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 179] 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.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.0.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.0.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.91 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3888, allocations: 65.48 MB / 0.5574 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00564/0.3945, allocations: 3.758 MB / 0.5611 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.3968, allocations: 1.141 MB / 0.5622 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.3971, allocations: 23.81 kB / 0.5623 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.3974, allocations: 98.95 kB / 0.5623 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004169/0.3978, allocations: 210.1 kB / 0.5625 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.3983, allocations: 231.5 kB / 0.5628 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008525/0.3992, allocations: 0.7939 MB / 0.5635 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003244/0.3995, allocations: 166.7 kB / 0.5637 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.4, allocations: 322.9 kB / 0.564 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000424/0.4004, allocations: 310.4 kB / 0.5643 GB, free: 424 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.4005, allocations: 64 kB / 0.5644 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.4007, allocations: 91.98 kB / 0.5645 GB, free: 268 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.4008, allocations: 151.4 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000313/0.4012, allocations: 294.8 kB / 0.5649 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.402, allocations: 0.7932 MB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4021, allocations: 0 / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4021, allocations: 0 / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.4021, allocations: 0 / 0.5657 GB, free: 15.03 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.001956/0.404, allocations: 0.9603 MB / 0.5666 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4041, allocations: 8.031 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006727/0.4047, allocations: 144.3 kB / 0.5667 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006385/0.4054, allocations: 364.2 kB / 0.5671 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.4054, allocations: 41.69 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.4055, allocations: 68.33 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.4067, allocations: 0.6271 MB / 0.5678 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/0.4068, allocations: 7.953 kB / 0.5678 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.4068, allocations: 24 kB / 0.5678 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.4068, allocations: 23.94 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.408, allocations: 0.5073 MB / 0.5684 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.4113, allocations: 1.911 MB / 0.5702 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.4127, allocations: 0.6608 MB / 0.5709 GB, free: 9.441 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/0.4133, allocations: 315.2 kB / 0.5712 GB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.4134, allocations: 20.36 kB / 0.5712 GB, free: 9.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.4134, allocations: 47 kB / 0.5712 GB, free: 9.035 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.806e-06/0.4134, allocations: 4 kB / 0.5712 GB, free: 9.031 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008297/0.4217, allocations: 3.953 MB / 0.5751 GB, free: 4.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.4219, allocations: 226.2 kB / 0.5753 GB, free: 4.613 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.4223, allocations: 389.8 kB / 0.5757 GB, free: 4.227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-05/0.4224, allocations: 49.7 kB / 0.5757 GB, free: 4.172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.4226, allocations: 281.5 kB / 0.576 GB, free: 3.891 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.423, allocations: 436.3 kB / 0.5764 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.4233, allocations: 179 kB / 0.5766 GB, free: 3.277 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.4235, allocations: 382.8 kB / 0.5769 GB, free: 2.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.4241, allocations: 306.5 kB / 0.5772 GB, free: 2.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/0.4249, allocations: 0.5004 MB / 0.5777 GB, free: 2.023 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.4265, allocations: 0.8508 MB / 0.5786 GB, free: 1.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4265, allocations: 4 kB / 0.5786 GB, free: 1.105 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001895/0.4284, allocations: 0.9962 MB / 0.5795 GB, free: 104 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.4284, allocations: 11.94 kB / 0.5795 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.4284, allocations: 4 kB / 0.5796 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.4284, allocations: 12.44 kB / 0.5796 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.4295, allocations: 279.9 kB / 0.5798 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.4295, allocations: 12 kB / 0.5798 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.4299, allocations: 43.97 kB / 0.5799 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.872e-05/0.43, allocations: 47.92 kB / 0.5799 GB, free: 15.7 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.0003347/0.4304, allocations: 229.7 kB / 0.5801 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.4306, allocations: 87.45 kB / 0.5802 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.4311, allocations: 230.9 kB / 0.5805 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.4311, allocations: 12 kB / 0.5805 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.4311, allocations: 0 / 0.5805 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.4311, allocations: 7.984 kB / 0.5805 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/0.4349, allocations: 2.051 MB / 0.5825 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.435, allocations: 8.062 kB / 0.5825 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.436, allocations: 247.7 kB / 0.5827 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.436, allocations: 8.281 kB / 0.5827 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/0.4361, allocations: 31.98 kB / 0.5828 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/0.4361, allocations: 15.88 kB / 0.5828 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.4361, allocations: 4 kB / 0.5828 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.4389, allocations: 1.889 MB / 0.5846 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.4392, allocations: 123.4 kB / 0.5847 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/0.4393, allocations: 28 kB / 0.5848 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006689/0.44, allocations: 43.91 kB / 0.5848 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.4402, allocations: 84.45 kB / 0.5849 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.645e-05/0.4402, allocations: 31.98 kB / 0.5849 GB, free: 10.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000337/0.4406, allocations: 271.3 kB / 0.5852 GB, free: 10.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4406, allocations: 0 / 0.5852 GB, free: 10.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000945/0.4415, allocations: 207.9 kB / 0.5854 GB, free: 9.992 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.0002515/0.4418, allocations: 135.7 kB / 0.5855 GB, free: 9.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.4435, allocations: 0.8006 MB / 0.5863 GB, free: 9.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.4435, allocations: 0 / 0.5863 GB, free: 9.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009335/0.4444, allocations: 463.8 kB / 0.5867 GB, free: 8.605 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.4457, allocations: 143.7 kB / 0.5869 GB, free: 8.469 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004067/0.4497, allocations: 2.232 MB / 0.589 GB, free: 6.152 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.4502, allocations: 357.1 kB / 0.5894 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004117/0.4506, allocations: 102 kB / 0.5895 GB, free: 5.672 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.4508, allocations: 63.42 kB / 0.5895 GB, free: 5.613 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4508, allocations: 4 kB / 0.5895 GB, free: 5.609 MB / 430.1 MB Notification: Performance of Templates: time 0.01686/0.4676, allocations: 8.204 MB / 0.5976 GB, free: 13.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.695260528475046]