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.000981/0.000981, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001055/0.001055, allocations: 166.2 kB / 24.99 MB, free: 8.336 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.013/1.013, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.263/0.263, allocations: 32.81 MB / 294.6 MB, free: 1.285 MB / 266.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.593e-06/1.593e-06, allocations: 0 / 376 MB, free: 5.043 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.514e-05, allocations: 6.25 kB / 376 MB, free: 5.035 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003775/0.0038, allocations: 4.078 MB / 380 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.005296, allocations: 1.153 MB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.005547, allocations: 19.88 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.005752, allocations: 106.9 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.006041, allocations: 217.9 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.006484, allocations: 235.4 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005926/0.007077, allocations: 0.8284 MB / 382.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00024/0.007317, allocations: 164 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004364/0.007753, allocations: 471 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.00801, allocations: 263.2 kB / 383.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.269e-05/0.008072, allocations: 56 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.008194, allocations: 95.91 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.008283, allocations: 151.4 kB / 383.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.008451, allocations: 239.4 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.008953, allocations: 0.5642 MB / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.008956, allocations: 0 / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008957, allocations: 0 / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.008965, allocations: 0 / 384.6 MB, free: 12.39 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.001155/0.01012, allocations: 1.045 MB / 385.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.01016, allocations: 12.03 kB / 385.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/0.01052, allocations: 184.4 kB / 385.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.01091, allocations: 382.2 kB / 386.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.01094, allocations: 37.69 kB / 386.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.01101, allocations: 72.28 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.01162, allocations: 0.4994 MB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.01166, allocations: 16.12 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.0117, allocations: 35.92 kB / 386.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.01172, allocations: 12 kB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.01216, allocations: 273.1 kB / 387.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.01409, allocations: 2.15 MB / 389.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006843/0.01478, allocations: 0.5473 MB / 389.8 MB, free: 6.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.01501, allocations: 199.2 kB / 390 MB, free: 6.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.833e-05/0.0151, allocations: 28.42 kB / 390 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.01513, allocations: 49.83 kB / 390.1 MB, free: 6.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 2.986e-06/0.01514, allocations: 7.984 kB / 390.1 MB, free: 6.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.004178/0.01931, allocations: 3.323 MB / 393.4 MB, free: 2.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.01942, allocations: 230.3 kB / 393.6 MB, free: 2.703 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.01975, allocations: 438.5 kB / 394.1 MB, free: 2.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.01979, allocations: 41.7 kB / 394.1 MB, free: 2.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.01997, allocations: 328.2 kB / 394.4 MB, free: 1.883 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.02023, allocations: 428.3 kB / 394.8 MB, free: 1.461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.02042, allocations: 184.6 kB / 395 MB, free: 1.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.02061, allocations: 0.5547 MB / 395.6 MB, free: 0.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.02086, allocations: 146.5 kB / 395.7 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.02122, allocations: 425.7 kB / 396.1 MB, free: 60 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007109/0.02193, allocations: 0.6185 MB / 396.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.02194, allocations: 8 kB / 396.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0008902/0.02283, allocations: 0.7346 MB / 397.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.02285, allocations: 8 kB / 397.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.02286, allocations: 4 kB / 397.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.02288, allocations: 16.38 kB / 397.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.02344, allocations: 279.6 kB / 397.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.02345, allocations: 16 kB / 397.8 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.02365, allocations: 39.98 kB / 397.9 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.173e-05/0.0237, allocations: 40 kB / 397.9 MB, free: 14.2 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.0001935/0.02389, allocations: 224.2 kB / 398.1 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.02407, allocations: 115.5 kB / 398.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.02432, allocations: 175 kB / 398.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.02433, allocations: 19.94 kB / 398.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.02434, allocations: 4 kB / 398.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.02435, allocations: 3.984 kB / 398.4 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.02636, allocations: 2.033 MB / 400.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.02637, allocations: 7.938 kB / 400.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.02692, allocations: 235.7 kB / 400.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.02693, allocations: 8 kB / 400.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.02697, allocations: 31.98 kB / 400.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.02698, allocations: 8 kB / 400.7 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.02699, allocations: 7.938 kB / 400.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.02838, allocations: 1.779 MB / 402.5 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.02853, allocations: 131.4 kB / 402.7 MB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.0286, allocations: 24 kB / 402.7 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.02888, allocations: 31.98 kB / 402.7 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.02901, allocations: 96.38 kB / 402.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.02905, allocations: 35.98 kB / 402.8 MB, free: 9.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.02922, allocations: 271.1 kB / 403.1 MB, free: 8.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02922, allocations: 0 / 403.1 MB, free: 8.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005481/0.02977, allocations: 200 kB / 403.3 MB, free: 8.641 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.0001594/0.02993, allocations: 139.2 kB / 403.4 MB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.03061, allocations: 0.5527 MB / 404 MB, free: 7.934 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.03062, allocations: 4.812 kB / 404 MB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.03095, allocations: 325.6 kB / 404.3 MB, free: 7.613 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.03173, allocations: 155.2 kB / 404.5 MB, free: 7.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.03389, allocations: 1.853 MB / 406.3 MB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.03403, allocations: 181.2 kB / 406.5 MB, free: 5.312 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002562/0.03429, allocations: 97.98 kB / 406.6 MB, free: 5.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.03443, allocations: 76.48 kB / 406.7 MB, free: 5.141 MB / 378.7 MB Notification: Performance of SimCode: time 9.81e-07/0.03443, allocations: 0 / 406.7 MB, free: 5.141 MB / 378.7 MB Notification: Performance of Templates: time 0.01028/0.0447, allocations: 7.359 MB / 414 MB, free: 13.89 MB / 394.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.204807801870629]