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.00148/0.00148, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001436/0.001436, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.515/1.515, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 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 0.001684/0.001684, allocations: 55.91 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1019, allocations: 53.33 MB / 426.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005001/0.1069, allocations: 3.668 MB / 430.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.219/0.3259, allocations: 0.9566 MB / 431.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005831/0.3265, allocations: 11.41 kB / 431.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.3269, allocations: 85.5 kB / 431.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006819/0.3276, allocations: 163.6 kB / 431.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006325/0.3282, allocations: 167.2 kB / 431.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007644/0.3289, allocations: 0.6177 MB / 432.5 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.3292, allocations: 145.3 kB / 432.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003559/0.3296, allocations: 264.2 kB / 432.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.3299, allocations: 288.5 kB / 433.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.33, allocations: 50.94 kB / 433.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.3301, allocations: 54.66 kB / 433.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.3301, allocations: 131.1 kB / 433.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.3303, allocations: 277.4 kB / 433.6 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000618/0.3309, allocations: 0.6239 MB / 434.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3309, allocations: 0 / 434.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.331, allocations: 1.594 kB / 434.3 MB, free: 7.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.331, allocations: 0 / 434.3 MB, free: 7.633 MB / 350.1 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.001487/0.3324, allocations: 0.8546 MB / 435.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3325, allocations: 9.5 kB / 435.1 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.3327, allocations: 73.38 kB / 435.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.3333, allocations: 349.5 kB / 435.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.3333, allocations: 40.89 kB / 435.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-05/0.3334, allocations: 51.48 kB / 435.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.3341, allocations: 420.3 kB / 436 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.3342, allocations: 4.219 kB / 436 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.3342, allocations: 22 kB / 436.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3342, allocations: 11.84 kB / 436.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007184/0.3349, allocations: 388.1 kB / 436.5 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.3372, allocations: 1.388 MB / 437.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008543/0.3381, allocations: 479.2 kB / 438.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006609/0.3388, allocations: 312.6 kB / 438.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/0.3388, allocations: 11.55 kB / 438.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.3388, allocations: 40.25 kB / 438.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.425e-06/0.3388, allocations: 0 / 438.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006693/0.3455, allocations: 3.02 MB / 441.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3456, allocations: 61.75 kB / 441.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.3459, allocations: 276.2 kB / 442 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.3459, allocations: 41.2 kB / 442.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.346, allocations: 211.1 kB / 442.3 MB, free: 3.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.3462, allocations: 385.2 kB / 442.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.3464, allocations: 155.9 kB / 442.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3465, allocations: 365.3 kB / 443.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.347, allocations: 241.8 kB / 443.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.3474, allocations: 313.9 kB / 443.7 MB, free: 2.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009121/0.3484, allocations: 0.5739 MB / 444.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3484, allocations: 1.188 kB / 444.3 MB, free: 2.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001162/0.3495, allocations: 0.7453 MB / 445 MB, free: 2.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3495, allocations: 7.781 kB / 445 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3496, allocations: 1 kB / 445 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.3496, allocations: 4.828 kB / 445 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000768/0.3503, allocations: 192.2 kB / 445.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.3504, allocations: 9.219 kB / 445.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.3507, allocations: 33.75 kB / 445.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.3508, allocations: 34.12 kB / 445.3 MB, free: 2.16 MB / 350.1 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.0002261/0.351, allocations: 193.2 kB / 445.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.3511, allocations: 64.95 kB / 445.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.3513, allocations: 78.67 kB / 445.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.3513, allocations: 9.75 kB / 445.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.3513, allocations: 0.9375 kB / 445.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.3513, allocations: 7.438 kB / 445.6 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002909/0.3542, allocations: 1.934 MB / 447.6 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.3542, allocations: 10.02 kB / 447.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.355, allocations: 194.9 kB / 447.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.3551, allocations: 9.5 kB / 447.8 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/0.3551, allocations: 27.59 kB / 447.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.3551, allocations: 9.891 kB / 447.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.3551, allocations: 10.38 kB / 447.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.3569, allocations: 1.292 MB / 449.1 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.357, allocations: 140.3 kB / 449.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.3571, allocations: 21.62 kB / 449.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003536/0.3575, allocations: 33.69 kB / 449.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.3576, allocations: 80.73 kB / 449.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.3577, allocations: 35.64 kB / 449.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.3579, allocations: 195.5 kB / 449.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3579, allocations: 0 / 449.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005777/0.3585, allocations: 158.6 kB / 449.8 MB, free: 15.72 MB / 366.1 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.0001882/0.3587, allocations: 131.5 kB / 449.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.3599, allocations: 0.6354 MB / 450.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3599, allocations: 0 / 450.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00069/0.3606, allocations: 388.9 kB / 450.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008708/0.3615, allocations: 146.7 kB / 451.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.3642, allocations: 1.545 MB / 452.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.3648, allocations: 0.8781 MB / 453.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.3651, allocations: 90.09 kB / 453.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.3653, allocations: 61.94 kB / 453.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3653, allocations: 0 / 453.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of Templates: time 0.01627/0.3816, allocations: 7.197 MB / 460.8 MB, free: 11.1 MB / 366.1 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.873645536601543]