Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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.001578/0.001578, allocations: 83.69 kB / 22 MB, free: 5.18 MB / 14.72 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.001654/0.001654, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 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 1.372/1.372, allocations: 158.6 MB / 187 MB, free: 6.484 MB / 174.1 MB " [Timeout remaining time 178] 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.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 55.92 kB / 299.4 MB, free: 8.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2277, allocations: 49.14 MB / 348.5 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004875/0.2326, allocations: 3.203 MB / 351.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.2343, allocations: 0.8849 MB / 352.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.2345, allocations: 12.19 kB / 352.6 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.2347, allocations: 82.06 kB / 352.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002829/0.235, allocations: 144 kB / 352.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.2354, allocations: 160.5 kB / 353 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006161/0.2361, allocations: 0.5977 MB / 353.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.2363, allocations: 127.5 kB / 353.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.2366, allocations: 252.3 kB / 353.9 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003674/0.237, allocations: 237.3 kB / 354.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.606e-05/0.2371, allocations: 53.97 kB / 354.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.982e-05/0.2372, allocations: 51.72 kB / 354.3 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.2373, allocations: 118.6 kB / 354.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.2375, allocations: 228 kB / 354.6 MB, free: 11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000663/0.2382, allocations: 0.6047 MB / 355.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2382, allocations: 0 / 355.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2382, allocations: 0 / 355.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.2382, allocations: 4 kB / 355.2 MB, free: 10.46 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001627/0.2398, allocations: 0.7817 MB / 356 MB, free: 9.648 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2399, allocations: 12.03 kB / 356 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.91e-05/0.24, allocations: 56.61 kB / 356.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.2404, allocations: 273.1 kB / 356.3 MB, free: 9.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.2405, allocations: 37.38 kB / 356.4 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.2406, allocations: 56.31 kB / 356.4 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009337/0.2415, allocations: 454.7 kB / 356.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.2415, allocations: 4 kB / 356.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.2416, allocations: 16 kB / 356.9 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.2416, allocations: 8 kB / 356.9 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2427, allocations: 455.7 kB / 357.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.245, allocations: 1.173 MB / 358.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.246, allocations: 0.4946 MB / 359 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008609/0.2469, allocations: 351.1 kB / 359.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.2469, allocations: 8.656 kB / 359.4 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.247, allocations: 47.16 kB / 359.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 1.09e-05/0.247, allocations: 3.984 kB / 359.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007567/0.2546, allocations: 2.999 MB / 362.4 MB, free: 3.094 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.2546, allocations: 68.34 kB / 362.5 MB, free: 3.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/0.2549, allocations: 241.8 kB / 362.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.2549, allocations: 41.7 kB / 362.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2551, allocations: 197.5 kB / 363 MB, free: 2.527 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.2553, allocations: 364.8 kB / 363.3 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.2555, allocations: 146.7 kB / 363.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2557, allocations: 362.8 kB / 363.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/0.2563, allocations: 269.8 kB / 364.1 MB, free: 1.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.257, allocations: 353.3 kB / 364.4 MB, free: 1.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.2583, allocations: 0.6195 MB / 365 MB, free: 420 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2583, allocations: 0 / 365 MB, free: 420 kB / 318.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001543/0.2598, allocations: 0.7861 MB / 365.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2599, allocations: 11.92 kB / 365.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2599, allocations: 0 / 365.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2599, allocations: 4 kB / 365.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008364/0.2607, allocations: 219.7 kB / 366.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2607, allocations: 4 kB / 366.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.2611, allocations: 39.97 kB / 366.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/0.2612, allocations: 31.98 kB / 366.1 MB, free: 15.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002406/0.2614, allocations: 193.7 kB / 366.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.2615, allocations: 51.67 kB / 366.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.2617, allocations: 73.36 kB / 366.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.2617, allocations: 19.94 kB / 366.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2617, allocations: 3.938 kB / 366.5 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2617, allocations: 3.984 kB / 366.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003044/0.2647, allocations: 1.755 MB / 368.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.2647, allocations: 8.062 kB / 368.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/0.2656, allocations: 207.7 kB / 368.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.2656, allocations: 8 kB / 368.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.2657, allocations: 27.98 kB / 368.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.2657, allocations: 12 kB / 368.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.2657, allocations: 11.88 kB / 368.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.2681, allocations: 1.365 MB / 369.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.2681, allocations: 51.72 kB / 369.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.2682, allocations: 28 kB / 369.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.2686, allocations: 47.95 kB / 370 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.2688, allocations: 80.75 kB / 370.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.2688, allocations: 31.94 kB / 370.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001597/0.269, allocations: 173.2 kB / 370.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.269, allocations: 0 / 370.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000515/0.2695, allocations: 152 kB / 370.4 MB, free: 10.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001519/0.2696, allocations: 139 kB / 370.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.2711, allocations: 0.6956 MB / 371.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.84e-06/0.2711, allocations: 4.125 kB / 371.2 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000785/0.2719, allocations: 413.4 kB / 371.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007501/0.2726, allocations: 137.5 kB / 371.8 MB, free: 9.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.2753, allocations: 1.528 MB / 373.3 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.2756, allocations: 268.4 kB / 373.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.2759, allocations: 76.94 kB / 373.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001792/0.2761, allocations: 56.47 kB / 373.7 MB, free: 7.438 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2761, allocations: 4 kB / 373.7 MB, free: 7.434 MB / 334.1 MB Notification: Performance of Templates: time 0.01358/0.2897, allocations: 6.595 MB / 380.3 MB, free: 0.8242 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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.492191013996489]