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.0009956/0.0009956, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001172/0.001172, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 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.9682/0.9682, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] 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.1373/0.1373, allocations: 32.81 MB / 295.4 MB, free: 15.41 MB / 282.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 377.2 MB, free: 25.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.25e-05, allocations: 2.312 kB / 377.2 MB, free: 25.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004039/0.004051, allocations: 4.035 MB / 381.3 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.005811, allocations: 1.153 MB / 382.4 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.006087, allocations: 19.88 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.006293, allocations: 98.95 kB / 382.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.006667, allocations: 229.9 kB / 382.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.007147, allocations: 235.5 kB / 383 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.007764, allocations: 0.8246 MB / 383.8 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.00801, allocations: 160 kB / 384 MB, free: 18.87 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004655/0.008475, allocations: 479 kB / 384.4 MB, free: 18.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.008769, allocations: 259.2 kB / 384.7 MB, free: 18.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.42e-05/0.008843, allocations: 56 kB / 384.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.008989, allocations: 95.91 kB / 384.8 MB, free: 18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.872e-05/0.009078, allocations: 147.4 kB / 385 MB, free: 17.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.009263, allocations: 247.4 kB / 385.2 MB, free: 17.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.00975, allocations: 0.5564 MB / 385.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.009752, allocations: 0 / 385.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009752, allocations: 0 / 385.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.009762, allocations: 0 / 385.8 MB, free: 17.05 MB / 314.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.001118/0.01088, allocations: 1.048 MB / 386.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.01091, allocations: 19.92 kB / 386.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004711/0.01138, allocations: 180.4 kB / 387 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.01177, allocations: 374.2 kB / 387.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.0118, allocations: 53.69 kB / 387.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.01188, allocations: 64.33 kB / 387.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.01244, allocations: 479.3 kB / 388 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.01247, allocations: 16.08 kB / 388 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.01252, allocations: 27.94 kB / 388 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01253, allocations: 19.98 kB / 388 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003663/0.0129, allocations: 213.9 kB / 388.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.01468, allocations: 2.088 MB / 390.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.01525, allocations: 0.5048 MB / 390.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.01546, allocations: 179.2 kB / 391 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.156e-05/0.01553, allocations: 24.48 kB / 391 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.01555, allocations: 61.75 kB / 391.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 2.635e-06/0.01556, allocations: 0 / 391.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.002829/0.01839, allocations: 2.672 MB / 393.8 MB, free: 8.512 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.01842, allocations: 222.2 kB / 394 MB, free: 8.246 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.01859, allocations: 430.3 kB / 394.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.01862, allocations: 41.7 kB / 394.4 MB, free: 7.762 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.01871, allocations: 340.2 kB / 394.8 MB, free: 7.422 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.01884, allocations: 432.2 kB / 395.2 MB, free: 6.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.01897, allocations: 196.5 kB / 395.4 MB, free: 6.797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.01904, allocations: 0.5662 MB / 396 MB, free: 6.219 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.01916, allocations: 114.6 kB / 396.1 MB, free: 6.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.01935, allocations: 382.6 kB / 396.4 MB, free: 5.641 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000364/0.01971, allocations: 0.5636 MB / 397 MB, free: 4.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01972, allocations: 4 kB / 397 MB, free: 4.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0005192/0.02024, allocations: 0.6724 MB / 397.7 MB, free: 4.305 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.02025, allocations: 8 kB / 397.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.02026, allocations: 4 kB / 397.7 MB, free: 4.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.02027, allocations: 8 kB / 397.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.02073, allocations: 275.6 kB / 398 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.02074, allocations: 19.86 kB / 398 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.02091, allocations: 32 kB / 398 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.02095, allocations: 35.98 kB / 398.1 MB, free: 3.93 MB / 314.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.0001223/0.02107, allocations: 224.4 kB / 398.3 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.02121, allocations: 115.5 kB / 398.4 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001549/0.02136, allocations: 171.5 kB / 398.6 MB, free: 3.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.02137, allocations: 12 kB / 398.6 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.02138, allocations: 3.938 kB / 398.6 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.02138, allocations: 11.97 kB / 398.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.02272, allocations: 1.9 MB / 400.5 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.02272, allocations: 3.984 kB / 400.5 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.02319, allocations: 243.6 kB / 400.7 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.0232, allocations: 8.141 kB / 400.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.02323, allocations: 32.27 kB / 400.8 MB, free: 1.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.02324, allocations: 8 kB / 400.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.02324, allocations: 13.55 kB / 400.8 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.02412, allocations: 1.688 MB / 402.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.02427, allocations: 123.4 kB / 402.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.345e-05/0.02432, allocations: 27.94 kB / 402.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/0.0246, allocations: 35.98 kB / 402.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.02469, allocations: 84.39 kB / 402.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.02472, allocations: 31.98 kB / 402.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.02484, allocations: 267 kB / 403 MB, free: 14.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02484, allocations: 0 / 403 MB, free: 14.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005097/0.02535, allocations: 196 kB / 403.2 MB, free: 14.62 MB / 330.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.0001135/0.02547, allocations: 143 kB / 403.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004799/0.02595, allocations: 498.2 kB / 403.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02595, allocations: 0 / 403.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.02621, allocations: 292.9 kB / 404.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.02692, allocations: 153.5 kB / 404.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.02869, allocations: 1.851 MB / 406.1 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.02882, allocations: 181.2 kB / 406.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.02904, allocations: 98 kB / 406.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.02931, allocations: 226.1 kB / 406.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02931, allocations: 4 kB / 406.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of Templates: time 0.01034/0.03966, allocations: 8.268 MB / 414.9 MB, free: 2.934 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] 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","",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.3122974298894405]