Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.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.000856/0.000856, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008406/0.0008406, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9582/0.9582, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.409e-05, allocations: 2.281 kB / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.002419/0.002443, allocations: 2.39 MB / 302.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007254/0.003169, allocations: 370.7 kB / 302.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.003296, allocations: 7.938 kB / 302.4 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.00343, allocations: 47.5 kB / 302.5 MB, free: 4.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.003574, allocations: 107 kB / 302.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.003856, allocations: 99.73 kB / 302.7 MB, free: 3.906 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.004143, allocations: 390.2 kB / 303.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.004313, allocations: 71.64 kB / 303.1 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.004511, allocations: 219.5 kB / 303.4 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.004637, allocations: 119.7 kB / 303.5 MB, free: 3.121 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.004678, allocations: 32 kB / 303.5 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.828e-05/0.004706, allocations: 28 kB / 303.5 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.004751, allocations: 75.73 kB / 303.6 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.777e-05/0.004829, allocations: 111.7 kB / 303.7 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.005119, allocations: 378.8 kB / 304.1 MB, free: 2.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.005122, allocations: 4 kB / 304.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.005123, allocations: 0 / 304.1 MB, free: 2.504 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.005129, allocations: 4 kB / 304.1 MB, free: 2.5 MB / 282.7 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.0007731/0.005902, allocations: 0.5598 MB / 304.7 MB, free: 1.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.005945, allocations: 19.92 kB / 304.7 MB, free: 1.887 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.006003, allocations: 36.7 kB / 304.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.006272, allocations: 213 kB / 304.9 MB, free: 1.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.006303, allocations: 21.03 kB / 304.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/0.006348, allocations: 32.36 kB / 305 MB, free: 1.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.006724, allocations: 274.6 kB / 305.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.00674, allocations: 4.141 kB / 305.2 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.006762, allocations: 16.38 kB / 305.3 MB, free: 1.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.00677, allocations: 4.375 kB / 305.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.00711, allocations: 266.4 kB / 305.5 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008458/0.007956, allocations: 0.6434 MB / 306.2 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004037/0.00836, allocations: 346.6 kB / 306.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.008571, allocations: 180.7 kB / 306.7 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.008597, allocations: 4 kB / 306.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.008619, allocations: 38.56 kB / 306.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.00862, allocations: 0 / 306.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.002549/0.01117, allocations: 1.828 MB / 308.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.01121, allocations: 56.06 kB / 308.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01135, allocations: 182.8 kB / 308.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.01138, allocations: 37.7 kB / 308.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.01146, allocations: 153 kB / 309 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.01157, allocations: 226 kB / 309.2 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/0.01166, allocations: 90.34 kB / 309.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.01176, allocations: 342.8 kB / 309.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.01196, allocations: 157.2 kB / 309.8 MB, free: 12.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.01216, allocations: 173.8 kB / 309.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.01261, allocations: 381.9 kB / 310.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01261, allocations: 7.938 kB / 310.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005051/0.01311, allocations: 481.1 kB / 310.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01313, allocations: 8 kB / 310.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01314, allocations: 0 / 310.8 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01315, allocations: 7.984 kB / 310.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.0134, allocations: 115.9 kB / 310.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.0134, allocations: 4 kB / 310.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.01349, allocations: 35.91 kB / 311 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.01351, allocations: 16 kB / 311 MB, free: 11.38 MB / 298.7 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.0001162/0.01363, allocations: 157.7 kB / 311.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.763e-05/0.01367, allocations: 35.77 kB / 311.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.01373, allocations: 51.27 kB / 311.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01374, allocations: 8 kB / 311.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01374, allocations: 0 / 311.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01375, allocations: 3.984 kB / 311.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.01492, allocations: 1.157 MB / 312.4 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.01492, allocations: 8 kB / 312.4 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.01517, allocations: 123.8 kB / 312.5 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.01518, allocations: 8 kB / 312.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.0152, allocations: 16 kB / 312.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.0152, allocations: 11.94 kB / 312.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01521, allocations: 4 kB / 312.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008474/0.01605, allocations: 0.8792 MB / 313.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.01609, allocations: 39.77 kB / 313.5 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.01612, allocations: 20.03 kB / 313.5 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.01624, allocations: 27.92 kB / 313.5 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.0163, allocations: 55.8 kB / 313.6 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.01632, allocations: 24 kB / 313.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.249e-05/0.01639, allocations: 136.2 kB / 313.7 MB, free: 8.461 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01639, allocations: 4 kB / 313.7 MB, free: 8.457 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.01664, allocations: 96 kB / 313.8 MB, free: 8.363 MB / 298.7 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 9.422e-05/0.01673, allocations: 123 kB / 313.9 MB, free: 8.234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004836/0.01721, allocations: 423.9 kB / 314.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01722, allocations: 0 / 314.4 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002631/0.01748, allocations: 239.3 kB / 314.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.01788, allocations: 100.5 kB / 314.7 MB, free: 7.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.01889, allocations: 0.9388 MB / 315.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.01901, allocations: 187.3 kB / 315.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.0191, allocations: 40.48 kB / 315.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0191, allocations: 0 / 315.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of Templates: time 0.004949/0.02405, allocations: 4.717 MB / 320.6 MB, free: 1.508 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.655329616740346]