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.0008701/0.0008701, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001047/0.001047, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9721/0.9721, allocations: 177.1 MB / 205 MB, free: 5.281 MB / 186.7 MB " [Timeout remaining time 179] 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.2709/0.2709, allocations: 34.26 MB / 295.7 MB, free: 0.707 MB / 266.7 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 1.934e-06/1.934e-06, allocations: 0 / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.276e-05, allocations: 2.312 kB / 378 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005658/0.00569, allocations: 4.09 MB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.00824, allocations: 1.161 MB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004222/0.008663, allocations: 19.88 kB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.008964, allocations: 103 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005641/0.009528, allocations: 221.9 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.0103, allocations: 235.4 kB / 383.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.01132, allocations: 0.8323 MB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.01165, allocations: 152.1 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007101/0.01236, allocations: 475 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003745/0.01274, allocations: 259.2 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.655e-05/0.01284, allocations: 60 kB / 385.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000211/0.01305, allocations: 95.86 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.01319, allocations: 155.4 kB / 385.8 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002646/0.01345, allocations: 243.4 kB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.0142, allocations: 0.5526 MB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.0142, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0142, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.01421, allocations: 4 kB / 386.6 MB, free: 10.02 MB / 362.7 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.001412/0.01563, allocations: 1.045 MB / 387.7 MB, free: 8.938 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.01566, allocations: 11.97 kB / 387.7 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.01603, allocations: 188.4 kB / 387.9 MB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.01643, allocations: 378.2 kB / 388.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.01647, allocations: 45.69 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.01654, allocations: 72.27 kB / 388.3 MB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.01715, allocations: 0.5072 MB / 388.9 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.01717, allocations: 8.141 kB / 388.9 MB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.01721, allocations: 23.94 kB / 388.9 MB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.01722, allocations: 16 kB / 388.9 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.01762, allocations: 272 kB / 389.2 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.01943, allocations: 2.158 MB / 391.3 MB, free: 5.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.02009, allocations: 0.5357 MB / 391.9 MB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.02032, allocations: 212.1 kB / 392.1 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.068e-05/0.02041, allocations: 24.44 kB / 392.1 MB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.02044, allocations: 61.81 kB / 392.2 MB, free: 4.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 3.487e-06/0.02045, allocations: 0 / 392.2 MB, free: 4.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.003707/0.02415, allocations: 3.313 MB / 395.5 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.02423, allocations: 230.2 kB / 395.7 MB, free: 348 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.02452, allocations: 434.5 kB / 396.1 MB, free: 15.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.02456, allocations: 49.7 kB / 396.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.02471, allocations: 328.2 kB / 396.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.02491, allocations: 424.3 kB / 396.9 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.02508, allocations: 188.6 kB / 397.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.02523, allocations: 0.5508 MB / 397.6 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.02546, allocations: 154.5 kB / 397.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.02578, allocations: 410.7 kB / 398.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006124/0.0264, allocations: 0.6341 MB / 398.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.0264, allocations: 0 / 398.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0008133/0.02722, allocations: 0.7503 MB / 399.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.02724, allocations: 9.562 kB / 399.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.02724, allocations: 4.438 kB / 399.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.02726, allocations: 15.94 kB / 399.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.02779, allocations: 271.6 kB / 399.9 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.0278, allocations: 8 kB / 399.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.02799, allocations: 39.98 kB / 399.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.02804, allocations: 47.92 kB / 400 MB, free: 11.83 MB / 378.7 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.0001662/0.0282, allocations: 220.3 kB / 400.2 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.02835, allocations: 119.5 kB / 400.3 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.02855, allocations: 167.1 kB / 400.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.02856, allocations: 19.94 kB / 400.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.02857, allocations: 0 / 400.5 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.02858, allocations: 7.984 kB / 400.5 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.03049, allocations: 2.024 MB / 402.5 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.03049, allocations: 4 kB / 402.5 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.03103, allocations: 247.6 kB / 402.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.03103, allocations: 8 kB / 402.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.03107, allocations: 24 kB / 402.8 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.03108, allocations: 12.38 kB / 402.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.03108, allocations: 4 kB / 402.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.03233, allocations: 1.783 MB / 404.6 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.0325, allocations: 127.4 kB / 404.7 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.912e-05/0.03256, allocations: 31.92 kB / 404.7 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.03283, allocations: 28 kB / 404.8 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.03295, allocations: 96.36 kB / 404.9 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.03299, allocations: 32 kB / 404.9 MB, free: 6.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001703/0.03316, allocations: 279 kB / 405.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.03316, allocations: 4 kB / 405.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005482/0.03371, allocations: 196 kB / 405.4 MB, free: 6.273 MB / 378.7 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.0001719/0.03388, allocations: 139 kB / 405.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.03458, allocations: 0.5539 MB / 406 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.03458, allocations: 0 / 406 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003112/0.03489, allocations: 329.1 kB / 406.4 MB, free: 5.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007424/0.03564, allocations: 146.1 kB / 406.5 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.03801, allocations: 1.873 MB / 408.4 MB, free: 3.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.03818, allocations: 177.2 kB / 408.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.03845, allocations: 94 kB / 408.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.03858, allocations: 72.48 kB / 408.7 MB, free: 2.773 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.03858, allocations: 0 / 408.7 MB, free: 2.773 MB / 378.7 MB Notification: Performance of Templates: time 0.01072/0.0493, allocations: 7.733 MB / 416.5 MB, free: 11.16 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2228802130557597]