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.0009528/0.0009528, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.0009592/0.0009592, allocations: 173.6 kB / 25.33 MB, free: 8.008 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.9275/0.9275, allocations: 158.6 MB / 187.2 MB, free: 2.922 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.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: Performance of FrontEnd - loaded program: time 9.72e-07/9.72e-07, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.293e-05, allocations: 2.312 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.002959/0.002971, allocations: 3.49 MB / 254.5 MB, free: 4.004 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009403/0.003912, allocations: 0.9044 MB / 255.4 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004038, allocations: 15.88 kB / 255.4 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.004187, allocations: 79.22 kB / 255.5 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001745/0.004362, allocations: 154.5 kB / 255.7 MB, free: 2.844 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.004648, allocations: 167.6 kB / 255.8 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000396/0.005044, allocations: 0.607 MB / 256.4 MB, free: 2.07 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.00523, allocations: 138 kB / 256.6 MB, free: 1.93 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.005505, allocations: 355.3 kB / 256.9 MB, free: 1.582 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.005693, allocations: 211.4 kB / 257.1 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.005751, allocations: 52 kB / 257.2 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.005805, allocations: 52 kB / 257.2 MB, free: 1.273 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.005873, allocations: 119.6 kB / 257.3 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.006002, allocations: 191.5 kB / 257.5 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.00632, allocations: 418.4 kB / 257.9 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.006322, allocations: 0 / 257.9 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006322, allocations: 0 / 257.9 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.006328, allocations: 0 / 257.9 MB, free: 0.5586 MB / 234.7 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.0009088/0.007236, allocations: 0.8543 MB / 258.8 MB, free: 15.67 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.007268, allocations: 12.02 kB / 258.8 MB, free: 15.66 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.007376, allocations: 92.61 kB / 258.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.007655, allocations: 271.2 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.00769, allocations: 37.38 kB / 259.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.007744, allocations: 52.33 kB / 259.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.008228, allocations: 355.7 kB / 259.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.008247, allocations: 192 / 259.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.008275, allocations: 16.38 kB / 259.6 MB, free: 14.81 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.008288, allocations: 19.88 kB / 259.6 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.008619, allocations: 237.8 kB / 259.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/0.01003, allocations: 1.133 MB / 261 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.0105, allocations: 390.9 kB / 261.4 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.01084, allocations: 250 kB / 261.6 MB, free: 12.74 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.01087, allocations: 16.66 kB / 261.6 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.0109, allocations: 42.03 kB / 261.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.853e-06/0.0109, allocations: 4 kB / 261.7 MB, free: 12.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.00277/0.01367, allocations: 2.195 MB / 263.9 MB, free: 10.42 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.01371, allocations: 64.41 kB / 263.9 MB, free: 10.34 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.01389, allocations: 292.3 kB / 264.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.01393, allocations: 37.7 kB / 264.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.01404, allocations: 248.2 kB / 264.5 MB, free: 9.746 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.01423, allocations: 368.8 kB / 264.9 MB, free: 9.383 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.01437, allocations: 152.3 kB / 265 MB, free: 9.227 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.01452, allocations: 0.5429 MB / 265.6 MB, free: 8.672 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.01472, allocations: 137.9 kB / 265.7 MB, free: 8.535 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.01496, allocations: 225.9 kB / 265.9 MB, free: 8.305 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.01541, allocations: 395 kB / 266.3 MB, free: 7.91 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01541, allocations: 0 / 266.3 MB, free: 7.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0006253/0.01604, allocations: 0.5869 MB / 266.9 MB, free: 7.316 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.01605, allocations: 4 kB / 266.9 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01605, allocations: 0 / 266.9 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.01607, allocations: 8.062 kB / 266.9 MB, free: 7.305 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.01648, allocations: 199.8 kB / 267.1 MB, free: 7.109 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.01649, allocations: 4 kB / 267.1 MB, free: 7.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.01662, allocations: 43.86 kB / 267.1 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.01665, allocations: 27.98 kB / 267.2 MB, free: 7.035 MB / 250.7 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.0001598/0.01681, allocations: 200.5 kB / 267.4 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.865e-05/0.01691, allocations: 83.67 kB / 267.5 MB, free: 6.746 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.106e-05/0.017, allocations: 73.36 kB / 267.5 MB, free: 6.676 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.01701, allocations: 12 kB / 267.5 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.01702, allocations: 4 kB / 267.5 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.01703, allocations: 3.984 kB / 267.5 MB, free: 6.656 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.01866, allocations: 1.58 MB / 269.1 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.01866, allocations: 4 kB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.01907, allocations: 199.7 kB / 269.3 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.01908, allocations: 8 kB / 269.3 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.01911, allocations: 27.92 kB / 269.4 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.01912, allocations: 11.94 kB / 269.4 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01912, allocations: 8 kB / 269.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.02012, allocations: 1.109 MB / 270.5 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.02018, allocations: 51.67 kB / 270.5 MB, free: 3.441 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.02023, allocations: 24 kB / 270.6 MB, free: 3.418 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.02039, allocations: 35.97 kB / 270.6 MB, free: 3.383 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.02049, allocations: 80.75 kB / 270.7 MB, free: 3.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/0.02052, allocations: 32 kB / 270.7 MB, free: 3.273 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.02062, allocations: 193.1 kB / 270.9 MB, free: 3.086 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02062, allocations: 4 kB / 270.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.02097, allocations: 156 kB / 271 MB, free: 2.93 MB / 250.7 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.0001043/0.02107, allocations: 135 kB / 271.2 MB, free: 2.785 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005639/0.02163, allocations: 0.4903 MB / 271.7 MB, free: 2.289 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.02164, allocations: 4 kB / 271.7 MB, free: 2.285 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.02194, allocations: 315.8 kB / 272 MB, free: 1.977 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.02241, allocations: 139.2 kB / 272.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.02395, allocations: 1.358 MB / 273.5 MB, free: 384 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.143e-05/0.02404, allocations: 143.7 kB / 273.6 MB, free: 220 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.02422, allocations: 72.92 kB / 273.7 MB, free: 148 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.02433, allocations: 60.48 kB / 273.7 MB, free: 88 kB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02433, allocations: 0 / 273.7 MB, free: 88 kB / 250.7 MB Notification: Performance of Templates: time 0.008616/0.03295, allocations: 6.94 MB / 280.7 MB, free: 9.195 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.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: 2.8302206876687706]