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.0009948/0.0009948, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001323/0.001323, allocations: 161.2 kB / 25.6 MB, free: 8.895 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 1.129/1.129, allocations: 158.6 MB / 187.5 MB, free: 2.812 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 2.555e-06/2.555e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/3.056e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003486/0.003517, allocations: 3.431 MB / 254.9 MB, free: 3.801 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.005612, allocations: 0.9005 MB / 255.8 MB, free: 2.891 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003664/0.005978, allocations: 11.94 kB / 255.8 MB, free: 2.879 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.006203, allocations: 79.17 kB / 255.9 MB, free: 2.801 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.006518, allocations: 162.5 kB / 256 MB, free: 2.641 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.007017, allocations: 163.6 kB / 256.2 MB, free: 2.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.007612, allocations: 0.6148 MB / 256.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.007869, allocations: 134 kB / 256.9 MB, free: 1.727 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.008411, allocations: 355.3 kB / 257.3 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.008656, allocations: 211.4 kB / 257.5 MB, free: 1.168 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.897e-05/0.008725, allocations: 48 kB / 257.5 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.008789, allocations: 52 kB / 257.6 MB, free: 1.07 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.841e-05/0.008868, allocations: 119.6 kB / 257.7 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.009023, allocations: 187.6 kB / 257.9 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.009402, allocations: 422.4 kB / 258.3 MB, free: 364 kB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.009406, allocations: 7.922 kB / 258.3 MB, free: 356 kB / 234.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009407, allocations: 0 / 258.3 MB, free: 356 kB / 234.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.009413, allocations: 8 kB / 258.3 MB, free: 348 kB / 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.0009719/0.01039, allocations: 0.8465 MB / 259.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.01042, allocations: 8.031 kB / 259.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.01054, allocations: 96.61 kB / 259.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.01086, allocations: 275.2 kB / 259.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.0109, allocations: 33.38 kB / 259.6 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.01096, allocations: 56.31 kB / 259.6 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.01139, allocations: 311.7 kB / 259.9 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.01141, allocations: 8.172 kB / 259.9 MB, free: 14.64 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.01144, allocations: 20.38 kB / 260 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.01145, allocations: 15.94 kB / 260 MB, free: 14.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.01168, allocations: 186.7 kB / 260.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.01311, allocations: 1.083 MB / 261.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005534/0.01367, allocations: 358.7 kB / 261.6 MB, free: 12.95 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.01394, allocations: 226 kB / 261.8 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.01397, allocations: 12.66 kB / 261.8 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.014, allocations: 46.05 kB / 261.9 MB, free: 12.66 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 2.274e-06/0.014, allocations: 4 kB / 261.9 MB, free: 12.65 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.002561/0.01656, allocations: 1.981 MB / 263.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.0166, allocations: 60.41 kB / 263.9 MB, free: 10.55 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.01676, allocations: 288.2 kB / 264.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.01679, allocations: 41.7 kB / 264.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.0169, allocations: 248.2 kB / 264.5 MB, free: 9.949 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003142/0.01722, allocations: 368.7 kB / 264.8 MB, free: 9.586 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.01736, allocations: 156.2 kB / 265 MB, free: 9.426 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.01749, allocations: 0.5428 MB / 265.5 MB, free: 8.871 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.01764, allocations: 105.9 kB / 265.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.01781, allocations: 193.8 kB / 265.8 MB, free: 8.566 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.01814, allocations: 342.8 kB / 266.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01815, allocations: 0 / 266.2 MB, free: 8.223 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0005204/0.01867, allocations: 0.5128 MB / 266.7 MB, free: 7.699 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.01868, allocations: 12.06 kB / 266.7 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01869, allocations: 0 / 266.7 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.01871, allocations: 4 kB / 266.7 MB, free: 7.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.0191, allocations: 203.7 kB / 266.9 MB, free: 7.484 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.0191, allocations: 4 kB / 266.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.01922, allocations: 27.98 kB / 266.9 MB, free: 7.453 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.01925, allocations: 20 kB / 266.9 MB, free: 7.434 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.0001403/0.01939, allocations: 212.3 kB / 267.2 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.983e-05/0.01947, allocations: 83.67 kB / 267.2 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.665e-05/0.01957, allocations: 73.38 kB / 267.3 MB, free: 7.062 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.01957, allocations: 11.98 kB / 267.3 MB, free: 7.051 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.01958, allocations: 3.938 kB / 267.3 MB, free: 7.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.01959, allocations: 7.984 kB / 267.3 MB, free: 7.039 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.02134, allocations: 1.478 MB / 268.8 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.02134, allocations: 4 kB / 268.8 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000393/0.02174, allocations: 191.7 kB / 269 MB, free: 5.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.02175, allocations: 16 kB / 269 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.02178, allocations: 24.58 kB / 269 MB, free: 5.215 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.02179, allocations: 12 kB / 269 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.02179, allocations: 11.94 kB / 269.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000832/0.02262, allocations: 1.008 MB / 270.1 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.02268, allocations: 51.67 kB / 270.1 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.02272, allocations: 27.98 kB / 270.1 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.02289, allocations: 31.98 kB / 270.2 MB, free: 3.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.02298, allocations: 80.75 kB / 270.3 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.023, allocations: 24 kB / 270.3 MB, free: 3.879 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.263e-05/0.02308, allocations: 193.1 kB / 270.5 MB, free: 3.691 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02308, allocations: 4 kB / 270.5 MB, free: 3.688 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00037/0.02345, allocations: 152 kB / 270.6 MB, free: 3.539 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.0001244/0.02358, allocations: 131 kB / 270.7 MB, free: 3.398 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.02404, allocations: 446.1 kB / 271.2 MB, free: 2.957 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.02404, allocations: 0 / 271.2 MB, free: 2.957 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.02429, allocations: 287.1 kB / 271.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.02479, allocations: 152.3 kB / 271.6 MB, free: 2.527 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.02657, allocations: 1.33 MB / 272.9 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.02667, allocations: 139.7 kB / 273.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.02689, allocations: 76.94 kB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/0.02715, allocations: 206.1 kB / 273.4 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02715, allocations: 4 kB / 273.4 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of Templates: time 0.01073/0.03788, allocations: 7.258 MB / 280.6 MB, free: 9.438 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.991457773372531]