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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008152/0.0008152, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002074, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006966/0.0006966, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001758, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9197/0.9197, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1847/1.104, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.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.1522/0.1522, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02085/0.173, allocations: 12.53 MB / 284.5 MB, free: 9.719 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 2.074e-06/2.074e-06, allocations: 0 / 285.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.517e-05, allocations: 6.312 kB / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00578/0.005805, allocations: 4.056 MB / 289.9 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.007912, allocations: 1.109 MB / 291 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.008184, allocations: 15.88 kB / 291 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.008399, allocations: 102.9 kB / 291.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.008843, allocations: 214 kB / 291.3 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.009323, allocations: 203.5 kB / 291.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008198/0.01014, allocations: 0.8014 MB / 292.3 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.01044, allocations: 162 kB / 292.5 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.01103, allocations: 0.5117 MB / 293 MB, free: 1.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003225/0.01135, allocations: 263.2 kB / 293.2 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.274e-05/0.01144, allocations: 56 kB / 293.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.01162, allocations: 83.98 kB / 293.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.01173, allocations: 107.6 kB / 293.5 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.01196, allocations: 199.6 kB / 293.7 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.01251, allocations: 0.4942 MB / 294.2 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.01252, allocations: 0 / 294.2 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01252, allocations: 0 / 294.2 MB, free: 56 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.01254, allocations: 0 / 294.2 MB, free: 56 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001397/0.01394, allocations: 1.037 MB / 295.2 MB, free: 14.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.01397, allocations: 12.03 kB / 295.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.01411, allocations: 96.84 kB / 295.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.01451, allocations: 295.6 kB / 295.6 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.293e-05/0.01455, allocations: 41.69 kB / 295.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-05/0.01465, allocations: 72.3 kB / 295.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.01525, allocations: 0.5389 MB / 296.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.01527, allocations: 16.02 kB / 296.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.0153, allocations: 24.38 kB / 296.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.01531, allocations: 19.94 kB / 296.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.01558, allocations: 195.2 kB / 296.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.01706, allocations: 1.588 MB / 298.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.01755, allocations: 444.9 kB / 298.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.0177, allocations: 151.5 kB / 298.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-05/0.01778, allocations: 28.42 kB / 298.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.01782, allocations: 51.06 kB / 298.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of pre-optimization done (n=82): time 1.924e-06/0.01782, allocations: 4 kB / 298.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=115): time 0.003387/0.02121, allocations: 2.794 MB / 301.6 MB, free: 8.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.02128, allocations: 226.2 kB / 301.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.02146, allocations: 339.3 kB / 302.1 MB, free: 7.582 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.0215, allocations: 45.7 kB / 302.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.02159, allocations: 234.4 kB / 302.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.02179, allocations: 428.2 kB / 302.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.02193, allocations: 174.9 kB / 303 MB, free: 6.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.02204, allocations: 394.5 kB / 303.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.02216, allocations: 102.6 kB / 303.5 MB, free: 6.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.02237, allocations: 306.5 kB / 303.8 MB, free: 5.836 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.0228, allocations: 0.5107 MB / 304.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.0228, allocations: 0 / 304.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0004854/0.02328, allocations: 0.5201 MB / 304.8 MB, free: 4.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.0233, allocations: 8 kB / 304.8 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.0233, allocations: 4 kB / 304.8 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.02332, allocations: 8 kB / 304.8 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/0.02394, allocations: 339.9 kB / 305.1 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.02395, allocations: 8 kB / 305.1 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.02412, allocations: 43.98 kB / 305.2 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.02416, allocations: 33.47 kB / 305.2 MB, free: 4.305 MB / 298.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 (144): * Single equations (assignments): 144 * 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.0001402/0.0243, allocations: 180.3 kB / 305.4 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.02442, allocations: 83.92 kB / 305.5 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001631/0.02458, allocations: 166.8 kB / 305.6 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.02459, allocations: 15.94 kB / 305.7 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.0246, allocations: 4 kB / 305.7 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.02461, allocations: 3.984 kB / 305.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.02601, allocations: 1.412 MB / 307.1 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.02602, allocations: 4 kB / 307.1 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005984/0.02662, allocations: 297.8 kB / 307.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.02675, allocations: 83.48 kB / 307.4 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.02676, allocations: 8 kB / 307.5 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.02679, allocations: 35.92 kB / 307.5 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.0268, allocations: 8.062 kB / 307.5 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.02681, allocations: 11.94 kB / 307.5 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007923/0.0276, allocations: 1.233 MB / 308.7 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.02765, allocations: 24 kB / 308.8 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002859/0.02794, allocations: 35.98 kB / 308.8 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.02804, allocations: 96.38 kB / 308.9 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.02806, allocations: 23.98 kB / 308.9 MB, free: 492 kB / 298.7 MB Notification: Performance of sorting global known variables: time 8.908e-05/0.02815, allocations: 136.7 kB / 309.1 MB, free: 356 kB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02815, allocations: 0 / 309.1 MB, free: 356 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004732/0.02863, allocations: 192 kB / 309.2 MB, free: 164 kB / 298.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 (115): * Single equations (assignments): 115 * 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.0001257/0.02875, allocations: 120.1 kB / 309.4 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004455/0.0292, allocations: 491.5 kB / 309.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/0.02922, allocations: 18.61 kB / 309.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.0295, allocations: 337.7 kB / 310.2 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009466/0.03045, allocations: 1.143 MB / 311.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.03309, allocations: 1.475 MB / 312.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.03323, allocations: 173.1 kB / 313 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.03346, allocations: 97.84 kB / 313.1 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.03374, allocations: 201.3 kB / 313.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of SimCode: time 6.72e-07/0.03374, allocations: 0 / 313.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of Templates: time 0.01007/0.04381, allocations: 7.829 MB / 321.1 MB, free: 4.125 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7770947329699993]