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.001443/0.001443, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001385/0.001385, allocations: 169.8 kB / 25.33 MB, free: 8.023 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 0.9299/0.9299, allocations: 158.6 MB / 187.2 MB, free: 2.938 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.134e-06/2.134e-06, allocations: 0 / 251 MB, free: 7.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.237e-05, allocations: 2.312 kB / 251 MB, free: 7.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003599/0.003631, allocations: 3.497 MB / 254.5 MB, free: 4.016 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.004969, allocations: 0.9044 MB / 255.4 MB, free: 3.102 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.005173, allocations: 11.94 kB / 255.4 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.005352, allocations: 79.22 kB / 255.5 MB, free: 3.012 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.005573, allocations: 162.5 kB / 255.7 MB, free: 2.852 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.005949, allocations: 155.6 kB / 255.8 MB, free: 2.699 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.006413, allocations: 0.6148 MB / 256.4 MB, free: 2.078 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.006647, allocations: 134 kB / 256.6 MB, free: 1.941 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.007, allocations: 359.3 kB / 256.9 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.007208, allocations: 211.4 kB / 257.1 MB, free: 1.383 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.788e-05/0.007266, allocations: 48 kB / 257.2 MB, free: 1.336 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.327e-05/0.007319, allocations: 52 kB / 257.2 MB, free: 1.285 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.00739, allocations: 119.6 kB / 257.3 MB, free: 1.168 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.007527, allocations: 191.5 kB / 257.5 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003652/0.007892, allocations: 422.4 kB / 257.9 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007895, allocations: 0 / 257.9 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.007896, allocations: 4 kB / 257.9 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.007902, allocations: 4 kB / 258 MB, free: 0.5586 MB / 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.000945/0.008847, allocations: 0.8387 MB / 258.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.008888, allocations: 8.031 kB / 258.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.009005, allocations: 100.6 kB / 258.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.009313, allocations: 279.2 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.009348, allocations: 33.38 kB / 259.2 MB, free: 15.24 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.009407, allocations: 52.33 kB / 259.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.009888, allocations: 351.7 kB / 259.6 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.009904, allocations: 192 / 259.6 MB, free: 14.84 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.009934, allocations: 20.38 kB / 259.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.009946, allocations: 19.88 kB / 259.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.01028, allocations: 241.7 kB / 259.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.01167, allocations: 1.122 MB / 261 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.01213, allocations: 394.9 kB / 261.4 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.01247, allocations: 254 kB / 261.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-05/0.01252, allocations: 16.59 kB / 261.6 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.01254, allocations: 42.05 kB / 261.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=67): time 1.924e-06/0.01254, allocations: 0 / 261.7 MB, free: 12.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=103): time 0.002862/0.01541, allocations: 2.199 MB / 263.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.01544, allocations: 64.34 kB / 263.9 MB, free: 10.35 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.01562, allocations: 296.3 kB / 264.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.01565, allocations: 41.7 kB / 264.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.01575, allocations: 240.3 kB / 264.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.01592, allocations: 364.8 kB / 264.9 MB, free: 9.395 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.01606, allocations: 156.3 kB / 265 MB, free: 9.234 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.0162, allocations: 0.5352 MB / 265.6 MB, free: 8.688 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.01641, allocations: 141.9 kB / 265.7 MB, free: 8.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.01667, allocations: 225.9 kB / 265.9 MB, free: 8.316 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.01712, allocations: 398.9 kB / 266.3 MB, free: 7.918 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01713, allocations: 4 kB / 266.3 MB, free: 7.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0006331/0.01776, allocations: 0.5792 MB / 266.9 MB, free: 7.328 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.01778, allocations: 4 kB / 266.9 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01779, allocations: 4 kB / 266.9 MB, free: 7.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.01781, allocations: 8.062 kB / 266.9 MB, free: 7.312 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.01821, allocations: 199.7 kB / 267.1 MB, free: 7.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.01822, allocations: 4 kB / 267.1 MB, free: 7.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.01834, allocations: 35.92 kB / 267.1 MB, free: 7.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.01837, allocations: 31.98 kB / 267.2 MB, free: 7.047 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.0001477/0.01852, allocations: 200.4 kB / 267.4 MB, free: 6.84 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.01861, allocations: 87.67 kB / 267.4 MB, free: 6.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.949e-05/0.01869, allocations: 69.36 kB / 267.5 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.01869, allocations: 16 kB / 267.5 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.0187, allocations: 0 / 267.5 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.01871, allocations: 3.984 kB / 267.5 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.0202, allocations: 1.584 MB / 269.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.0202, allocations: 8 kB / 269.1 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.02059, allocations: 191.7 kB / 269.3 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.0206, allocations: 8 kB / 269.3 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.02063, allocations: 35.92 kB / 269.4 MB, free: 4.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.02064, allocations: 11.94 kB / 269.4 MB, free: 4.707 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.02064, allocations: 4.406 kB / 269.4 MB, free: 4.703 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009886/0.02163, allocations: 1.109 MB / 270.5 MB, free: 3.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.02167, allocations: 51.67 kB / 270.5 MB, free: 3.449 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.02171, allocations: 20 kB / 270.6 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.02187, allocations: 35.98 kB / 270.6 MB, free: 3.395 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.02195, allocations: 84.73 kB / 270.7 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.02198, allocations: 28 kB / 270.7 MB, free: 3.285 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.02207, allocations: 201.1 kB / 270.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02207, allocations: 0 / 270.9 MB, free: 3.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.02238, allocations: 156 kB / 271 MB, free: 2.938 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.0001336/0.02252, allocations: 134.6 kB / 271.2 MB, free: 2.797 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005804/0.0231, allocations: 0.4982 MB / 271.7 MB, free: 2.293 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.0231, allocations: 0 / 271.7 MB, free: 2.293 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.02341, allocations: 315.7 kB / 272 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.0239, allocations: 129.1 kB / 272.1 MB, free: 1.859 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.02558, allocations: 1.358 MB / 273.5 MB, free: 400 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.207e-05/0.02567, allocations: 143.7 kB / 273.6 MB, free: 236 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.02586, allocations: 68.94 kB / 273.7 MB, free: 168 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.02598, allocations: 64.48 kB / 273.7 MB, free: 104 kB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02598, allocations: 0 / 273.7 MB, free: 104 kB / 250.7 MB Notification: Performance of Templates: time 0.00876/0.03474, allocations: 6.573 MB / 280.3 MB, free: 9.574 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: 3.1039147889241576]