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.001348/0.001348, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001501/0.001501, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.491/1.491, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.225/0.225, allocations: 34.27 MB / 295.5 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 179] 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.002071/0.002071, allocations: 67.88 kB / 443.1 MB, free: 6.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3459, allocations: 66 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004043/0.3499, allocations: 3.762 MB / 0.5009 GB, free: 27.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002399/0.3523, allocations: 1.138 MB / 0.502 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003755/0.3527, allocations: 22.53 kB / 0.502 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.353, allocations: 101.9 kB / 0.5021 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.3534, allocations: 210.3 kB / 0.5023 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006605/0.3541, allocations: 235.2 kB / 0.5025 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007533/0.3548, allocations: 0.7993 MB / 0.5033 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.3551, allocations: 153.9 kB / 0.5035 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003602/0.3555, allocations: 330.3 kB / 0.5038 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003535/0.3558, allocations: 308.7 kB / 0.5041 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.453e-05/0.3559, allocations: 60.38 kB / 0.5041 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.3561, allocations: 89.22 kB / 0.5042 GB, free: 25.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3562, allocations: 156.6 kB / 0.5044 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.3564, allocations: 293.8 kB / 0.5047 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006125/0.357, allocations: 0.7951 MB / 0.5054 GB, free: 24.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.357, allocations: 0 / 0.5054 GB, free: 24.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.357, allocations: 3.031 kB / 0.5054 GB, free: 24.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.357, allocations: 0 / 0.5054 GB, free: 24.82 MB / 446.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.001638/0.3587, allocations: 0.9555 MB / 0.5064 GB, free: 24.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3587, allocations: 9.469 kB / 0.5064 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/0.3594, allocations: 146.6 kB / 0.5065 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.3599, allocations: 369.9 kB / 0.5069 GB, free: 23.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.305e-05/0.3599, allocations: 45.41 kB / 0.5069 GB, free: 23.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.582e-05/0.36, allocations: 64.17 kB / 0.507 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009446/0.361, allocations: 0.6189 MB / 0.5076 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.361, allocations: 14.11 kB / 0.5076 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.3611, allocations: 22.94 kB / 0.5076 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.3611, allocations: 15.12 kB / 0.5076 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.362, allocations: 0.5152 MB / 0.5081 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.3643, allocations: 1.917 MB / 0.51 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.3653, allocations: 0.6616 MB / 0.5106 GB, free: 21.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000465/0.3658, allocations: 314.2 kB / 0.5109 GB, free: 21.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.981e-05/0.3659, allocations: 20.41 kB / 0.511 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.3659, allocations: 48.42 kB / 0.511 GB, free: 21.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=83): time 2.826e-06/0.3659, allocations: 0 / 0.511 GB, free: 21.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=116): time 0.007123/0.373, allocations: 3.95 MB / 0.5149 GB, free: 19.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.3731, allocations: 227.3 kB / 0.5151 GB, free: 18.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.3735, allocations: 395.2 kB / 0.5155 GB, free: 18.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.3735, allocations: 46.66 kB / 0.5155 GB, free: 18.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.3737, allocations: 280.7 kB / 0.5158 GB, free: 18.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.3739, allocations: 431.9 kB / 0.5162 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.3742, allocations: 179.2 kB / 0.5164 GB, free: 18.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3743, allocations: 383.2 kB / 0.5167 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006086/0.3749, allocations: 312.5 kB / 0.517 GB, free: 17.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.3756, allocations: 0.4939 MB / 0.5175 GB, free: 17.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.377, allocations: 0.8631 MB / 0.5183 GB, free: 16.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.377, allocations: 1.781 kB / 0.5184 GB, free: 16.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001652/0.3786, allocations: 0.9922 MB / 0.5193 GB, free: 16.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3786, allocations: 13.78 kB / 0.5193 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.3787, allocations: 5.5 kB / 0.5193 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.3787, allocations: 11 kB / 0.5193 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/0.3797, allocations: 277.4 kB / 0.5196 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.3797, allocations: 14.97 kB / 0.5196 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.3801, allocations: 49.16 kB / 0.5197 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/0.3802, allocations: 41.67 kB / 0.5197 GB, free: 16.34 MB / 446.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.0002695/0.3805, allocations: 235.3 kB / 0.5199 GB, free: 16.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.3807, allocations: 82.88 kB / 0.52 GB, free: 16.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.3811, allocations: 223.8 kB / 0.5202 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.3811, allocations: 13.12 kB / 0.5202 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.3811, allocations: 11.62 kB / 0.5203 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.3812, allocations: 7.453 kB / 0.5203 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.3844, allocations: 2.06 MB / 0.5223 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3844, allocations: 3.938 kB / 0.5223 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.3855, allocations: 244.8 kB / 0.5225 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.3855, allocations: 8.625 kB / 0.5225 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.643e-05/0.3855, allocations: 29.58 kB / 0.5225 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.3856, allocations: 12.69 kB / 0.5226 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3856, allocations: 12.66 kB / 0.5226 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002359/0.3879, allocations: 1.879 MB / 0.5244 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.3882, allocations: 132.8 kB / 0.5245 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.809e-05/0.3883, allocations: 27.16 kB / 0.5246 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/0.3889, allocations: 39 kB / 0.5246 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.3891, allocations: 91.67 kB / 0.5247 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.353e-05/0.3891, allocations: 35.61 kB / 0.5247 GB, free: 13.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002808/0.3894, allocations: 270.7 kB / 0.525 GB, free: 13.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3894, allocations: 0 / 0.525 GB, free: 13.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009423/0.3903, allocations: 196.1 kB / 0.5252 GB, free: 13.3 MB / 446.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.0001791/0.3905, allocations: 137.3 kB / 0.5253 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.3922, allocations: 0.79 MB / 0.5261 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3923, allocations: 5.312 kB / 0.5261 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008715/0.3931, allocations: 466 kB / 0.5265 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.3945, allocations: 141.8 kB / 0.5267 GB, free: 12.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003047/0.3975, allocations: 2.214 MB / 0.5288 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.398, allocations: 364.8 kB / 0.5292 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.3984, allocations: 100.4 kB / 0.5293 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.3986, allocations: 63.47 kB / 0.5293 GB, free: 11.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3986, allocations: 0 / 0.5293 GB, free: 11.1 MB / 446.1 MB Notification: Performance of Templates: time 0.0165/0.4151, allocations: 7.339 MB / 0.5365 GB, free: 9.977 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 -s ida -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.499098942964338]