Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 149.3 kB / 24.89 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9739/0.9739, allocations: 173.4 MB / 201.5 MB, free: 9.172 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 268.5 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.522e-05, allocations: 2.312 kB / 268.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003631/0.003657, allocations: 3.507 MB / 272 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.005308, allocations: 0.8993 MB / 272.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00024/0.005548, allocations: 15.88 kB / 272.9 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.005732, allocations: 79.16 kB / 273 MB, free: 1.613 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.005994, allocations: 154.6 kB / 273.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.006415, allocations: 163.6 kB / 273.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005126/0.006927, allocations: 0.6109 MB / 273.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002063/0.007133, allocations: 134.6 kB / 274.1 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.007535, allocations: 359.2 kB / 274.4 MB, free: 192 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.007777, allocations: 215.5 kB / 274.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.726e-05/0.007834, allocations: 48 kB / 274.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.218e-05/0.007886, allocations: 52 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.007951, allocations: 119.6 kB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.008081, allocations: 195.5 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.008458, allocations: 418.3 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.008462, allocations: 0 / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.008464, allocations: 0 / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.008471, allocations: 3.938 kB / 275.4 MB, free: 15.16 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0008656/0.009337, allocations: 0.7257 MB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.00937, allocations: 8.922 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.00946, allocations: 76.88 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.009759, allocations: 232.5 kB / 276.5 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.009795, allocations: 33.38 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.009847, allocations: 52.33 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.01023, allocations: 323.6 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.01024, allocations: 4.172 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.01027, allocations: 20.38 kB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.01028, allocations: 15.94 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.01049, allocations: 158.9 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.01173, allocations: 0.8534 MB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003428/0.01207, allocations: 334.9 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.01233, allocations: 207.1 kB / 278.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.01236, allocations: 12.66 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.01239, allocations: 39.22 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.074e-06/0.01239, allocations: 0 / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.003001/0.01539, allocations: 2.173 MB / 280.7 MB, free: 9.781 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.01543, allocations: 68.41 kB / 280.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.01557, allocations: 229 kB / 281 MB, free: 9.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.01561, allocations: 45.69 kB / 281 MB, free: 9.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.01568, allocations: 173.9 kB / 281.2 MB, free: 9.238 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.01586, allocations: 372.7 kB / 281.5 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.01599, allocations: 146.6 kB / 281.7 MB, free: 8.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.0161, allocations: 370.6 kB / 282 MB, free: 8.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.01621, allocations: 89.95 kB / 282.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.01637, allocations: 173.4 kB / 282.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.01668, allocations: 338.2 kB / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01669, allocations: 0 / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0004045/0.01709, allocations: 391.4 kB / 283 MB, free: 7.355 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.01711, allocations: 4 kB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01711, allocations: 0 / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.01713, allocations: 11.94 kB / 283 MB, free: 7.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.01762, allocations: 226.4 kB / 283.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01763, allocations: 8 kB / 283.3 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.01776, allocations: 39.98 kB / 283.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.01778, allocations: 20 kB / 283.3 MB, free: 7.059 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 (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.0001294/0.01791, allocations: 157.6 kB / 283.5 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.667e-05/0.01798, allocations: 63.95 kB / 283.5 MB, free: 6.832 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.377e-05/0.01806, allocations: 73.36 kB / 283.6 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.01807, allocations: 11.98 kB / 283.6 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01807, allocations: 4 kB / 283.6 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.01808, allocations: 11.92 kB / 283.6 MB, free: 6.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.01932, allocations: 1.157 MB / 284.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.01932, allocations: 4 kB / 284.8 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.01979, allocations: 223.7 kB / 285 MB, free: 5.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.0198, allocations: 8 kB / 285 MB, free: 5.262 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.01983, allocations: 23.98 kB / 285 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.01984, allocations: 11.94 kB / 285.1 MB, free: 5.227 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.01985, allocations: 11.98 kB / 285.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/0.02054, allocations: 0.7967 MB / 285.9 MB, free: 4.344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.0206, allocations: 51.66 kB / 285.9 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.02064, allocations: 23.98 kB / 285.9 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.0208, allocations: 31.98 kB / 286 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.02088, allocations: 80.75 kB / 286 MB, free: 4.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.02091, allocations: 27.94 kB / 286.1 MB, free: 4.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.63e-05/0.02097, allocations: 78.77 kB / 286.1 MB, free: 4.055 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02097, allocations: 4 kB / 286.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.02127, allocations: 159.9 kB / 286.3 MB, free: 3.895 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 (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.0001324/0.0214, allocations: 108.2 kB / 286.4 MB, free: 3.781 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004143/0.02182, allocations: 419.3 kB / 286.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.02182, allocations: 0 / 286.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.02205, allocations: 272.9 kB / 287.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.02248, allocations: 140.6 kB / 287.2 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.02391, allocations: 1.18 MB / 288.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.02401, allocations: 143.7 kB / 288.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000209/0.02422, allocations: 72.98 kB / 288.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.02448, allocations: 181.3 kB / 288.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02448, allocations: 0 / 288.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of Templates: time 0.1122/0.1366, allocations: 7.367 MB / 296.2 MB, free: 27.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.710994535125792]