Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.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.001364/0.001364, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001401/0.001401, allocations: 190.7 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.482/1.482, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 55.91 kB / 370.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.267, allocations: 52.17 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003621/0.2706, allocations: 2.423 MB / 425.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006507/0.2713, allocations: 370.7 kB / 425.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.2714, allocations: 7.938 kB / 425.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.2715, allocations: 47.5 kB / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.2717, allocations: 95.12 kB / 426 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.272, allocations: 99.81 kB / 426.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.2724, allocations: 382.3 kB / 426.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.2726, allocations: 83.36 kB / 426.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.2728, allocations: 139.6 kB / 426.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.273, allocations: 151.2 kB / 426.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.178e-05/0.273, allocations: 32 kB / 426.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.2731, allocations: 28 kB / 426.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.2732, allocations: 71.77 kB / 426.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2733, allocations: 139.4 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.2737, allocations: 372.9 kB / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2737, allocations: 0 / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2737, allocations: 0 / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.2738, allocations: 0 / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001116/0.2749, allocations: 0.5715 MB / 428 MB, free: 9.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2749, allocations: 8.031 kB / 428 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.275, allocations: 36.75 kB / 428.1 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.2753, allocations: 202.9 kB / 428.3 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.2754, allocations: 21.03 kB / 428.3 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.2754, allocations: 28.38 kB / 428.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000572/0.276, allocations: 282.5 kB / 428.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.276, allocations: 8.188 kB / 428.6 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.2761, allocations: 19.88 kB / 428.6 MB, free: 8.832 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.2761, allocations: 8 kB / 428.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000597/0.2767, allocations: 262.4 kB / 428.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.2779, allocations: 0.6434 MB / 429.5 MB, free: 7.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.2785, allocations: 330.7 kB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.2788, allocations: 176.7 kB / 430 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.2789, allocations: 7.984 kB / 430 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.2789, allocations: 42.5 kB / 430.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.2789, allocations: 0 / 430.1 MB, free: 7.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.0043/0.2832, allocations: 1.825 MB / 431.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.2833, allocations: 64.06 kB / 432 MB, free: 5.375 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.2835, allocations: 187.9 kB / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.2835, allocations: 37.64 kB / 432.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.2836, allocations: 157 kB / 432.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.2838, allocations: 226.1 kB / 432.5 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.2839, allocations: 94.33 kB / 432.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2841, allocations: 342.8 kB / 433 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.2844, allocations: 161.2 kB / 433.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003445/0.2848, allocations: 177.8 kB / 433.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.2855, allocations: 377.9 kB / 433.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2855, allocations: 0 / 433.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008925/0.2864, allocations: 485.1 kB / 434.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2864, allocations: 4 kB / 434.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2864, allocations: 0 / 434.2 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.2864, allocations: 7.984 kB / 434.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.2869, allocations: 119.8 kB / 434.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2869, allocations: 8 kB / 434.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.2871, allocations: 23.98 kB / 434.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.2872, allocations: 20 kB / 434.3 MB, free: 2.953 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001784/0.2873, allocations: 161.7 kB / 434.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.2874, allocations: 35.8 kB / 434.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.2875, allocations: 43.34 kB / 434.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.2875, allocations: 4 kB / 434.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2875, allocations: 4 kB / 434.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-06/0.2875, allocations: 3.984 kB / 434.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001969/0.2895, allocations: 1.169 MB / 435.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.2895, allocations: 4 kB / 435.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005011/0.29, allocations: 119.8 kB / 435.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/0.29, allocations: 8 kB / 435.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.2901, allocations: 19.98 kB / 435.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.2901, allocations: 11.94 kB / 435.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2901, allocations: 7.938 kB / 435.9 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.2915, allocations: 0.8902 MB / 436.8 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.089e-05/0.2915, allocations: 35.84 kB / 436.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.2916, allocations: 16 kB / 436.9 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.2919, allocations: 27.92 kB / 436.9 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.97e-05/0.2919, allocations: 59.8 kB / 436.9 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.292, allocations: 20 kB / 437 MB, free: 144 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.2921, allocations: 135.2 kB / 437.1 MB, free: 8 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2921, allocations: 0 / 437.1 MB, free: 8 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000411/0.2925, allocations: 96.05 kB / 437.2 MB, free: 15.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.0001411/0.2927, allocations: 111.1 kB / 437.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008235/0.2935, allocations: 424 kB / 437.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2935, allocations: 0 / 437.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.2939, allocations: 236.8 kB / 437.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.2945, allocations: 90.34 kB / 438 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.2963, allocations: 1.029 MB / 439.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2965, allocations: 195.2 kB / 439.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000179/0.2966, allocations: 43.27 kB / 439.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.2967, allocations: 35.44 kB / 439.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2967, allocations: 0 / 439.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Templates: time 0.009436/0.3062, allocations: 4.534 MB / 443.9 MB, free: 9.215 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.54431813955307]