Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.3e-05, allocations: 3.219 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.004845/0.004868, allocations: 2.477 MB / 327.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.006502, allocations: 0.7075 MB / 328.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.006676, allocations: 12.69 kB / 328.2 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.006868, allocations: 47.88 kB / 328.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.007125, allocations: 114.2 kB / 328.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.007478, allocations: 94.12 kB / 328.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005566/0.008035, allocations: 406.8 kB / 328.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.008328, allocations: 78.53 kB / 328.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.008768, allocations: 220 kB / 329.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003286/0.009096, allocations: 120.3 kB / 329.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.519e-05/0.009181, allocations: 30.03 kB / 329.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-05/0.009266, allocations: 30.75 kB / 329.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.009397, allocations: 79.08 kB / 329.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.009626, allocations: 121 kB / 329.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006764/0.0103, allocations: 385.7 kB / 329.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.01032, allocations: 4 kB / 329.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01032, allocations: 4.906 kB / 329.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.01033, allocations: 4 kB / 329.9 MB, free: 13.52 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001316/0.01164, allocations: 0.5412 MB / 330.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.01168, allocations: 12.64 kB / 330.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.496e-05/0.01177, allocations: 44.05 kB / 330.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.01225, allocations: 219.8 kB / 330.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.413e-05/0.01228, allocations: 25.12 kB / 330.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.796e-05/0.01236, allocations: 34.88 kB / 330.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.01289, allocations: 270.2 kB / 331 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01291, allocations: 1.312 kB / 331 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.01294, allocations: 11 kB / 331 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.01295, allocations: 6.688 kB / 331 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.01339, allocations: 231 kB / 331.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.01476, allocations: 0.6467 MB / 331.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/0.01535, allocations: 311.7 kB / 332.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.01563, allocations: 159.6 kB / 332.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.01567, allocations: 4.688 kB / 332.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.01571, allocations: 42.16 kB / 332.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.663e-06/0.01571, allocations: 0 / 332.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004098/0.01981, allocations: 1.762 MB / 334.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.01986, allocations: 62.91 kB / 334.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.02009, allocations: 201.1 kB / 334.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.545e-05/0.02014, allocations: 39.77 kB / 334.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.02026, allocations: 149.5 kB / 334.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.02046, allocations: 235 kB / 334.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.02062, allocations: 95.61 kB / 334.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.0208, allocations: 351.4 kB / 335.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.02106, allocations: 139.8 kB / 335.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.02132, allocations: 153 kB / 335.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006397/0.02196, allocations: 354.1 kB / 335.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.02196, allocations: 3.938 kB / 335.9 MB, free: 9.402 MB / 302.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007548/0.02272, allocations: 465.8 kB / 336.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.02274, allocations: 9.062 kB / 336.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.02275, allocations: 1.281 kB / 336.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.02276, allocations: 2.188 kB / 336.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.02324, allocations: 119.7 kB / 336.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.02325, allocations: 2.469 kB / 336.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.02345, allocations: 17.17 kB / 336.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.02349, allocations: 19.34 kB / 336.5 MB, free: 9.121 MB / 302.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 (71): * Single equations (assignments): 71 * 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.0002103/0.0237, allocations: 162.9 kB / 336.7 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.02377, allocations: 33.12 kB / 336.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.0239, allocations: 51.86 kB / 336.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.0239, allocations: 6.938 kB / 336.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.02392, allocations: 0 / 336.8 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.02392, allocations: 5.172 kB / 336.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.02589, allocations: 1.134 MB / 337.9 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.0259, allocations: 11.92 kB / 337.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.02639, allocations: 115.8 kB / 338.1 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.0264, allocations: 4 kB / 338.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.02644, allocations: 23.94 kB / 338.1 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.02645, allocations: 11.92 kB / 338.1 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.02645, allocations: 4.438 kB / 338.1 MB, free: 7.648 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.0277, allocations: 0.8383 MB / 338.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.02776, allocations: 39.77 kB / 339 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.02782, allocations: 19.94 kB / 339 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.02806, allocations: 20.03 kB / 339 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.02817, allocations: 56.3 kB / 339.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.02821, allocations: 24 kB / 339.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.02834, allocations: 140.6 kB / 339.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.02834, allocations: 0 / 339.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.02883, allocations: 100 kB / 339.3 MB, free: 6.352 MB / 302.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 (65): * Single equations (assignments): 65 * 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.0001536/0.02898, allocations: 123 kB / 339.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007218/0.0297, allocations: 392.2 kB / 339.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02971, allocations: 0 / 339.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.03008, allocations: 227.6 kB / 340.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.03078, allocations: 97.7 kB / 340.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.03244, allocations: 0.9283 MB / 341.1 MB, free: 4.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.03266, allocations: 195.3 kB / 341.3 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001789/0.03284, allocations: 47.3 kB / 341.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.03296, allocations: 36.5 kB / 341.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.03296, allocations: 0 / 341.4 MB, free: 4.211 MB / 302.1 MB Notification: Performance of Templates: time 0.01014/0.0431, allocations: 4.406 MB / 345.8 MB, free: 15.89 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.3642995953559875]