Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00196/0.00196, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002361/0.002361, allocations: 165.7 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.349e-05/4.548e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00735/0.007396, allocations: 3.334 MB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.01047, allocations: 0.9158 MB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/0.01089, allocations: 11.94 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.01124, allocations: 87.09 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005942/0.01183, allocations: 174.4 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.01258, allocations: 167.6 kB / 277 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.01368, allocations: 0.6459 MB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.01407, allocations: 141.9 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008108/0.01488, allocations: 379.2 kB / 278.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.01534, allocations: 207.4 kB / 278.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.01547, allocations: 52 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.01563, allocations: 52 kB / 278.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.0158, allocations: 135.5 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.01613, allocations: 191.6 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.01726, allocations: 0.6501 MB / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.01726, allocations: 0 / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.01726, allocations: 0 / 279.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.01727, allocations: 0 / 279.4 MB, free: 10.68 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.002168/0.01944, allocations: 0.7659 MB / 280.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.0195, allocations: 12.03 kB / 280.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.01988, allocations: 104.6 kB / 280.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006892/0.02057, allocations: 297.4 kB / 280.6 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.894e-05/0.02064, allocations: 41.38 kB / 280.6 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.02077, allocations: 55.83 kB / 280.7 MB, free: 9.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.02193, allocations: 422.4 kB / 281.1 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.02196, allocations: 0 / 281.1 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.81e-05/0.02202, allocations: 20 kB / 281.1 MB, free: 8.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.02204, allocations: 12 kB / 281.1 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.02313, allocations: 379.8 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/0.02694, allocations: 1.169 MB / 282.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.02812, allocations: 487.9 kB / 283.1 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.02913, allocations: 308.1 kB / 283.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.996e-05/0.02921, allocations: 16.64 kB / 283.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.02927, allocations: 51.22 kB / 283.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 4.559e-06/0.02927, allocations: 0 / 283.5 MB, free: 6.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.0104/0.03968, allocations: 2.9 MB / 286.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.03975, allocations: 60.41 kB / 286.5 MB, free: 3.441 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000483/0.04023, allocations: 260.2 kB / 286.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-05/0.04031, allocations: 41.7 kB / 286.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.04056, allocations: 213.5 kB / 287 MB, free: 2.922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004724/0.04103, allocations: 376.7 kB / 287.3 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.04136, allocations: 150.6 kB / 287.5 MB, free: 2.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002768/0.04163, allocations: 362.8 kB / 287.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/0.04232, allocations: 237.9 kB / 288.1 MB, free: 1.801 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000865/0.04319, allocations: 321.4 kB / 288.4 MB, free: 1.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.04483, allocations: 0.5689 MB / 289 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.04483, allocations: 0 / 289 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002391/0.04722, allocations: 0.7706 MB / 289.7 MB, free: 128 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.04726, allocations: 7.938 kB / 289.7 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.04727, allocations: 0 / 289.7 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/0.0473, allocations: 7.984 kB / 289.7 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1336/0.1809, allocations: 192.5 kB / 289.9 MB, free: 28.49 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.1809, allocations: 8.469 kB / 289.9 MB, free: 28.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.1813, allocations: 29.55 kB / 290 MB, free: 28.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.1814, allocations: 31.14 kB / 290 MB, free: 28.49 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.0002747/0.1817, allocations: 196.3 kB / 290.2 MB, free: 28.38 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.1818, allocations: 94.95 kB / 290.3 MB, free: 28.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.182, allocations: 80.95 kB / 290.4 MB, free: 28.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.182, allocations: 11.06 kB / 290.4 MB, free: 28.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.1821, allocations: 1.438 kB / 290.4 MB, free: 28.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.1821, allocations: 5.359 kB / 290.4 MB, free: 28.36 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.1847, allocations: 1.723 MB / 292.1 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.1847, allocations: 7.625 kB / 292.1 MB, free: 27.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.1855, allocations: 194.9 kB / 292.3 MB, free: 27.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.1855, allocations: 12.47 kB / 292.3 MB, free: 27.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.1855, allocations: 29.86 kB / 292.3 MB, free: 27.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.1856, allocations: 15.61 kB / 292.4 MB, free: 27.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.1856, allocations: 4.312 kB / 292.4 MB, free: 27.69 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.1873, allocations: 1.312 MB / 293.7 MB, free: 26.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.1874, allocations: 62.7 kB / 293.7 MB, free: 26.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.493e-05/0.1875, allocations: 23.61 kB / 293.8 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.1878, allocations: 36.05 kB / 293.8 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.188, allocations: 78.11 kB / 293.9 MB, free: 26.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.188, allocations: 34.67 kB / 293.9 MB, free: 26.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1882, allocations: 187.1 kB / 294.1 MB, free: 26.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1882, allocations: 0 / 294.1 MB, free: 26.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005421/0.1887, allocations: 158.2 kB / 294.2 MB, free: 26.79 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.0001628/0.1889, allocations: 133.6 kB / 294.4 MB, free: 26.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.1899, allocations: 0.6305 MB / 295 MB, free: 26.47 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.19, allocations: 1.188 kB / 295 MB, free: 26.47 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.1905, allocations: 391 kB / 295.4 MB, free: 26.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/0.1914, allocations: 143.9 kB / 295.5 MB, free: 26.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1934, allocations: 1.428 MB / 297 MB, free: 25.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1937, allocations: 281 kB / 297.2 MB, free: 25.31 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000323/0.194, allocations: 82.41 kB / 297.3 MB, free: 25.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.1942, allocations: 62.55 kB / 297.4 MB, free: 25.29 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1942, allocations: 0 / 297.4 MB, free: 25.29 MB / 266.7 MB Notification: Performance of Templates: time 0.0121/0.2063, allocations: 7.086 MB / 304.5 MB, free: 22.37 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.655239226063713]