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.000955/0.000955, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.0009706/0.0009706, allocations: 141.4 kB / 25.59 MB, free: 8.906 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.997/0.997, allocations: 173.4 MB / 202.2 MB, free: 8.273 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 2.034e-06/2.034e-06, allocations: 0 / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.333e-05, allocations: 6.312 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004674/0.004697, allocations: 3.445 MB / 272.6 MB, free: 6.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.006397, allocations: 0.8685 MB / 273.5 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.006622, allocations: 16.44 kB / 273.5 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.006843, allocations: 79.22 kB / 273.6 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.007167, allocations: 165.9 kB / 273.8 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.007629, allocations: 154.2 kB / 273.9 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006399/0.008269, allocations: 0.6187 MB / 274.5 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.008552, allocations: 130 kB / 274.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004786/0.009031, allocations: 359.3 kB / 275 MB, free: 3.965 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003023/0.009333, allocations: 203.9 kB / 275.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.00942, allocations: 52 kB / 275.3 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.009505, allocations: 56 kB / 275.3 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.009605, allocations: 123.5 kB / 275.4 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.009807, allocations: 191.6 kB / 275.6 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.01028, allocations: 418.5 kB / 276 MB, free: 2.941 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01028, allocations: 0 / 276 MB, free: 2.941 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01028, allocations: 0 / 276 MB, free: 2.941 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.01029, allocations: 0 / 276 MB, free: 2.941 MB / 250.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.0009152/0.01121, allocations: 0.8542 MB / 276.9 MB, free: 2.051 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.01123, allocations: 8.031 kB / 276.9 MB, free: 2.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.39e-05/0.01133, allocations: 100.6 kB / 277 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.01158, allocations: 275.2 kB / 277.3 MB, free: 1.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.01161, allocations: 33.38 kB / 277.3 MB, free: 1.617 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.01166, allocations: 48.38 kB / 277.3 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.01201, allocations: 319.6 kB / 277.6 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.01203, allocations: 8.141 kB / 277.7 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.01206, allocations: 20.38 kB / 277.7 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.01206, allocations: 15.88 kB / 277.7 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.01228, allocations: 190.8 kB / 277.9 MB, free: 1.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.0135, allocations: 1.087 MB / 279 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000329/0.01382, allocations: 352 kB / 279.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.01408, allocations: 222 kB / 279.5 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.01411, allocations: 12.66 kB / 279.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.01413, allocations: 42.03 kB / 279.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.723e-06/0.01413, allocations: 7.938 kB / 279.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=103): time 0.002325/0.01646, allocations: 1.983 MB / 281.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.01649, allocations: 64.41 kB / 281.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.01662, allocations: 284.2 kB / 281.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.01665, allocations: 41.7 kB / 281.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.01675, allocations: 260.2 kB / 282.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.01691, allocations: 360.8 kB / 282.6 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.01705, allocations: 160.2 kB / 282.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.01718, allocations: 0.535 MB / 283.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.01731, allocations: 105.9 kB / 283.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.01748, allocations: 193.9 kB / 283.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.0178, allocations: 342.9 kB / 283.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.0178, allocations: 0 / 283.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0004778/0.01828, allocations: 0.5166 MB / 284.4 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01829, allocations: 8 kB / 284.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.0183, allocations: 0 / 284.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.01831, allocations: 4 kB / 284.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.01872, allocations: 195.8 kB / 284.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.01873, allocations: 7.938 kB / 284.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.01886, allocations: 40.05 kB / 284.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.01889, allocations: 23.98 kB / 284.7 MB, free: 10.03 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.0001343/0.01902, allocations: 200.4 kB / 284.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.429e-05/0.0191, allocations: 87.67 kB / 284.9 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.204e-05/0.01919, allocations: 73.36 kB / 285 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.01919, allocations: 8 kB / 285 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.01919, allocations: 0 / 285 MB, free: 9.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.0192, allocations: 3.984 kB / 285 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.02054, allocations: 1.471 MB / 286.5 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.02055, allocations: 4.062 kB / 286.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.02094, allocations: 203.7 kB / 286.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.02095, allocations: 8 kB / 286.7 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.02098, allocations: 31.92 kB / 286.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/0.02099, allocations: 11.94 kB / 286.8 MB, free: 7.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.02099, allocations: 4 kB / 286.8 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.0218, allocations: 1.011 MB / 287.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.02184, allocations: 59.64 kB / 287.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.02189, allocations: 24 kB / 287.8 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.02206, allocations: 31.98 kB / 287.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.02214, allocations: 80.75 kB / 288 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.02216, allocations: 27.98 kB / 288 MB, free: 6.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.02224, allocations: 189.1 kB / 288.2 MB, free: 6.289 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02224, allocations: 0 / 288.2 MB, free: 6.289 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.02255, allocations: 152 kB / 288.3 MB, free: 6.141 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.0001043/0.02265, allocations: 135 kB / 288.4 MB, free: 6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004218/0.02307, allocations: 446.1 kB / 288.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02307, allocations: 0 / 288.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.02331, allocations: 288 kB / 289.2 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.02376, allocations: 140.6 kB / 289.3 MB, free: 5.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.0251, allocations: 1.331 MB / 290.6 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.308e-05/0.02518, allocations: 143.7 kB / 290.8 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001788/0.02536, allocations: 76.92 kB / 290.9 MB, free: 3.461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.02561, allocations: 206.1 kB / 291.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02561, allocations: 0 / 291.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of Templates: time 0.009633/0.03524, allocations: 7.47 MB / 298.5 MB, free: 11.91 MB / 282.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 -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.8080073590390384]