Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.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.001488/0.001488, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001794/0.001794, allocations: 170 kB / 24.82 MB, free: 9.254 MB / 18.57 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.019/1.019, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273.3 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.822e-05/1.959e-05, allocations: 5.125 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003383/0.003403, allocations: 3.555 MB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.005223, allocations: 0.9314 MB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.005454, allocations: 15.94 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.005643, allocations: 87.09 kB / 277.9 MB, free: 12.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.005986, allocations: 170.4 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004922/0.006478, allocations: 167.6 kB / 278.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.007024, allocations: 0.6459 MB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.007235, allocations: 137.9 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004236/0.007658, allocations: 383.1 kB / 279.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.007878, allocations: 215.4 kB / 279.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.007934, allocations: 48 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.882e-05/0.008023, allocations: 56 kB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.00809, allocations: 127.5 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.008216, allocations: 203.5 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.008561, allocations: 430.4 kB / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008563, allocations: 0 / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.008564, allocations: 0 / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.00857, allocations: 0 / 280.5 MB, free: 10.07 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001024/0.009593, allocations: 0.8851 MB / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.009627, allocations: 8.031 kB / 281.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.009799, allocations: 104.6 kB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.01008, allocations: 300.2 kB / 281.7 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.01011, allocations: 37.38 kB / 281.8 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.01016, allocations: 55.89 kB / 281.8 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.01066, allocations: 299 kB / 282.1 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.01068, allocations: 0 / 282.1 MB, free: 8.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.01071, allocations: 20 kB / 282.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01072, allocations: 12 kB / 282.2 MB, free: 8.285 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.01095, allocations: 182.8 kB / 282.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.01247, allocations: 1.091 MB / 283.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.01282, allocations: 360.3 kB / 283.8 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.01313, allocations: 226.6 kB / 284 MB, free: 6.387 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.01317, allocations: 20.64 kB / 284 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.0132, allocations: 42.05 kB / 284.1 MB, free: 6.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.254e-06/0.01321, allocations: 0 / 284.1 MB, free: 6.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.002874/0.01608, allocations: 2.015 MB / 286.1 MB, free: 4.254 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.01612, allocations: 68.41 kB / 286.1 MB, free: 4.176 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.01629, allocations: 318.1 kB / 286.4 MB, free: 3.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.01632, allocations: 41.7 kB / 286.5 MB, free: 3.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.01644, allocations: 256.3 kB / 286.7 MB, free: 3.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.01661, allocations: 380.7 kB / 287.1 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.01675, allocations: 156.2 kB / 287.3 MB, free: 3.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.01689, allocations: 0.539 MB / 287.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.01702, allocations: 101.9 kB / 287.9 MB, free: 2.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.01719, allocations: 189.9 kB / 288.1 MB, free: 2.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.01753, allocations: 358.8 kB / 288.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01754, allocations: 0 / 288.4 MB, free: 1.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0004947/0.01803, allocations: 0.5284 MB / 289 MB, free: 1.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.01805, allocations: 4 kB / 289 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.01806, allocations: 4 kB / 289 MB, free: 1.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.01807, allocations: 7.938 kB / 289 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.01849, allocations: 195.7 kB / 289.2 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.0185, allocations: 7.984 kB / 289.2 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.01863, allocations: 20.06 kB / 289.2 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.01866, allocations: 31.98 kB / 289.2 MB, free: 0.9961 MB / 266.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 (117): * Single equations (assignments): 117 * 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.0001464/0.0188, allocations: 204.3 kB / 289.4 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.588e-05/0.01889, allocations: 95.62 kB / 289.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.03e-05/0.01898, allocations: 73.56 kB / 289.6 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.01899, allocations: 15.94 kB / 289.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01899, allocations: 0 / 289.6 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.019, allocations: 3.984 kB / 289.6 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1296/0.1486, allocations: 1.485 MB / 291.1 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.1486, allocations: 5.781 kB / 291.1 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.1492, allocations: 194.2 kB / 291.3 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.1492, allocations: 9.281 kB / 291.3 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.1493, allocations: 29.84 kB / 291.3 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.1493, allocations: 8.672 kB / 291.3 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.1493, allocations: 6.688 kB / 291.4 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.1504, allocations: 1.021 MB / 292.4 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.1504, allocations: 57.92 kB / 292.4 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.1505, allocations: 24.7 kB / 292.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.1507, allocations: 28.48 kB / 292.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1508, allocations: 86.34 kB / 292.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.1509, allocations: 24.64 kB / 292.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.151, allocations: 205.5 kB / 292.8 MB, free: 24.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.151, allocations: 1.031 kB / 292.8 MB, free: 24.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005044/0.1515, allocations: 161 kB / 292.9 MB, free: 24.75 MB / 266.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 (107): * Single equations (assignments): 107 * 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.0001308/0.1516, allocations: 133.5 kB / 293.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005798/0.1522, allocations: 445.9 kB / 293.5 MB, free: 24.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1522, allocations: 1.844 kB / 293.5 MB, free: 24.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.1525, allocations: 291.8 kB / 293.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006667/0.1532, allocations: 142.8 kB / 293.9 MB, free: 24.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.155, allocations: 1.384 MB / 295.3 MB, free: 23.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.1552, allocations: 149.1 kB / 295.5 MB, free: 23.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003087/0.1555, allocations: 82.3 kB / 295.6 MB, free: 23.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.1558, allocations: 221.9 kB / 295.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1558, allocations: 1.156 kB / 295.8 MB, free: 23.66 MB / 266.7 MB Notification: Performance of Templates: time 0.01345/0.1693, allocations: 7.807 MB / 303.6 MB, free: 21.42 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.927728908136487]