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.001386/0.001386, allocations: 81.97 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.001296/0.001296, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 1.034/1.034, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1777/0.1777, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.503e-06/1.503e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.78e-05, allocations: 10.25 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004673/0.004701, allocations: 4.024 MB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.00696, allocations: 1.157 MB / 384.4 MB, free: 18.22 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.007436, allocations: 19.88 kB / 384.5 MB, free: 18.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.007709, allocations: 98.95 kB / 384.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.008216, allocations: 221.9 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.008843, allocations: 235.5 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006831/0.009526, allocations: 0.8246 MB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.009831, allocations: 168 kB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.01036, allocations: 471 kB / 386.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.01068, allocations: 267.2 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.798e-05/0.01076, allocations: 59.94 kB / 386.8 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.01093, allocations: 84 kB / 386.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.01103, allocations: 151.4 kB / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.01124, allocations: 247.4 kB / 387.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006067/0.01184, allocations: 0.5603 MB / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.01185, allocations: 4 kB / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01185, allocations: 0 / 387.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.01186, allocations: 0 / 387.8 MB, free: 14.84 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.001273/0.01313, allocations: 1.048 MB / 388.9 MB, free: 13.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.01317, allocations: 8.031 kB / 388.9 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005117/0.01368, allocations: 184.4 kB / 389.1 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.01412, allocations: 374.2 kB / 389.4 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.01416, allocations: 41.69 kB / 389.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.384e-05/0.01424, allocations: 68.33 kB / 389.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006522/0.0149, allocations: 479.3 kB / 390 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.01493, allocations: 24.05 kB / 390 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.01497, allocations: 31.94 kB / 390 MB, free: 12.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.01499, allocations: 16 kB / 390.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.01539, allocations: 221.4 kB / 390.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001983/0.01737, allocations: 2.08 MB / 392.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.01803, allocations: 0.5009 MB / 392.9 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.01825, allocations: 187.2 kB / 393 MB, free: 9.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.554e-05/0.01834, allocations: 28.48 kB / 393.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.01836, allocations: 57.75 kB / 393.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 3.436e-06/0.01837, allocations: 0 / 393.1 MB, free: 9.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.004289/0.02266, allocations: 2.663 MB / 395.8 MB, free: 6.309 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.02272, allocations: 230.2 kB / 396 MB, free: 6.035 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.02302, allocations: 434.3 kB / 396.4 MB, free: 5.594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.146e-05/0.02306, allocations: 45.7 kB / 396.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.02321, allocations: 332.2 kB / 396.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.02344, allocations: 432.2 kB / 397.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.02366, allocations: 192.5 kB / 397.4 MB, free: 4.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.02377, allocations: 0.5662 MB / 398 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.02397, allocations: 114.5 kB / 398.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.02429, allocations: 382.6 kB / 398.5 MB, free: 3.434 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.0249, allocations: 0.5641 MB / 399 MB, free: 2.777 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.0249, allocations: 0 / 399 MB, free: 2.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0008976/0.0258, allocations: 0.672 MB / 399.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.02582, allocations: 8.031 kB / 399.7 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.02584, allocations: 8 kB / 399.7 MB, free: 2.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.02586, allocations: 8 kB / 399.7 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.02668, allocations: 275.6 kB / 400 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.02669, allocations: 15.88 kB / 400 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.02704, allocations: 39.98 kB / 400.1 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/0.0271, allocations: 32 kB / 400.1 MB, free: 1.723 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.0002075/0.0273, allocations: 220.2 kB / 400.3 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.02755, allocations: 119.5 kB / 400.4 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.02781, allocations: 167.8 kB / 400.6 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.02782, allocations: 16 kB / 400.6 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.02783, allocations: 3.938 kB / 400.6 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.02784, allocations: 11.97 kB / 400.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.03042, allocations: 1.904 MB / 402.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.03043, allocations: 8.062 kB / 402.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008791/0.03131, allocations: 239.7 kB / 402.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.03132, allocations: 8 kB / 402.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.083e-05/0.03139, allocations: 27.98 kB / 402.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/0.0314, allocations: 8.281 kB / 402.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.0314, allocations: 11.94 kB / 402.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.03305, allocations: 1.696 MB / 404.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.03332, allocations: 123.4 kB / 404.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.03341, allocations: 20 kB / 404.6 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.03395, allocations: 31.98 kB / 404.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.03412, allocations: 96.38 kB / 404.8 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.193e-05/0.03417, allocations: 20 kB / 404.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.03439, allocations: 275 kB / 405.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.03439, allocations: 0 / 405.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001293/0.03568, allocations: 196 kB / 405.3 MB, free: 12.4 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.0002138/0.0359, allocations: 139 kB / 405.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009235/0.03682, allocations: 498.5 kB / 405.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.03683, allocations: 4 kB / 405.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.03723, allocations: 288.9 kB / 406.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.03858, allocations: 155.3 kB / 406.3 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.0416, allocations: 1.859 MB / 408.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.04181, allocations: 177.2 kB / 408.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004432/0.04225, allocations: 98 kB / 408.4 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.04268, allocations: 230.1 kB / 408.7 MB, free: 8.848 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.04268, allocations: 0 / 408.7 MB, free: 8.848 MB / 330.7 MB Notification: Performance of Templates: time 0.01684/0.05952, allocations: 8.256 MB / 416.9 MB, free: 0.7266 MB / 330.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.5700907623395324]