Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 116.8 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 212.9 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 59.89 kB / 373.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1057, allocations: 53.33 MB / 427.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005541/0.1112, allocations: 3.668 MB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2436/0.3549, allocations: 0.9519 MB / 431.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005833/0.3555, allocations: 6.812 kB / 431.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.3558, allocations: 85.12 kB / 431.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.3562, allocations: 163.6 kB / 432 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.3567, allocations: 164.3 kB / 432.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006711/0.3574, allocations: 0.6268 MB / 432.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.3576, allocations: 144.2 kB / 432.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.358, allocations: 258.1 kB / 433.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.3583, allocations: 286.2 kB / 433.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.481e-05/0.3584, allocations: 51 kB / 433.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3585, allocations: 58.72 kB / 433.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.252e-05/0.3586, allocations: 122.9 kB / 433.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3588, allocations: 281.9 kB / 434 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.3593, allocations: 0.6255 MB / 434.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3593, allocations: 2 kB / 434.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3593, allocations: 0 / 434.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3594, allocations: 0.5625 kB / 434.6 MB, free: 8.184 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.001346/0.3607, allocations: 0.8463 MB / 435.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3607, allocations: 10.16 kB / 435.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.3609, allocations: 73.95 kB / 435.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.3614, allocations: 355.4 kB / 435.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.3614, allocations: 34.62 kB / 435.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.018e-05/0.3615, allocations: 59.64 kB / 436 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/0.3623, allocations: 416.1 kB / 436.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.3624, allocations: 1.812 kB / 436.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.3624, allocations: 20.97 kB / 436.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.3624, allocations: 12.19 kB / 436.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008028/0.3632, allocations: 392.4 kB / 436.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.3655, allocations: 1.389 MB / 438.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.3663, allocations: 477.7 kB / 438.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006704/0.3669, allocations: 316.8 kB / 439 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.467e-05/0.367, allocations: 8.938 kB / 439 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.367, allocations: 38.25 kB / 439 MB, free: 5.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.134e-06/0.367, allocations: 0 / 439 MB, free: 5.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006636/0.3737, allocations: 3.021 MB / 442 MB, free: 4.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3737, allocations: 63.7 kB / 442.1 MB, free: 4.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.374, allocations: 276.2 kB / 442.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.374, allocations: 45.27 kB / 442.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3742, allocations: 211.3 kB / 442.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.3744, allocations: 382.2 kB / 443 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.3746, allocations: 146.3 kB / 443.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3747, allocations: 369.2 kB / 443.5 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.3752, allocations: 241.2 kB / 443.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.3756, allocations: 315.3 kB / 444 MB, free: 3.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/0.3766, allocations: 0.5732 MB / 444.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3766, allocations: 1.156 kB / 444.6 MB, free: 2.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001179/0.3778, allocations: 0.7363 MB / 445.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3778, allocations: 9.969 kB / 445.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3778, allocations: 5.219 kB / 445.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.3778, allocations: 4.172 kB / 445.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008048/0.3786, allocations: 200 kB / 445.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.3786, allocations: 8.484 kB / 445.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.379, allocations: 31.42 kB / 445.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.379, allocations: 29.2 kB / 445.6 MB, free: 2.504 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.0002084/0.3792, allocations: 191.1 kB / 445.8 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.3793, allocations: 64.36 kB / 445.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.3795, allocations: 75.78 kB / 445.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.3795, allocations: 19.45 kB / 446 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/0.3795, allocations: 0.5625 kB / 446 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.3795, allocations: 5.797 kB / 446 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.3823, allocations: 1.933 MB / 447.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.3823, allocations: 9.922 kB / 447.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.3831, allocations: 194 kB / 448.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.3831, allocations: 13.23 kB / 448.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.3831, allocations: 26.16 kB / 448.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.3831, allocations: 13.11 kB / 448.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.3831, allocations: 5.969 kB / 448.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.3848, allocations: 1.294 MB / 449.5 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3849, allocations: 139.1 kB / 449.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.385, allocations: 24.89 kB / 449.6 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.3853, allocations: 28.52 kB / 449.6 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.3855, allocations: 80.95 kB / 449.7 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.3855, allocations: 40.05 kB / 449.8 MB, free: 204 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3857, allocations: 196.4 kB / 450 MB, free: 92 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3857, allocations: 0 / 450 MB, free: 92 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005349/0.3862, allocations: 158.8 kB / 450.1 MB, free: 64 kB / 350.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.000184/0.3864, allocations: 133.1 kB / 450.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.3875, allocations: 0.6294 MB / 450.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3875, allocations: 1.406 kB / 450.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.3881, allocations: 391 kB / 451.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008335/0.389, allocations: 137 kB / 451.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.3915, allocations: 1.546 MB / 452.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.3921, allocations: 0.8785 MB / 453.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003335/0.3925, allocations: 83.08 kB / 453.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3926, allocations: 62.03 kB / 454 MB, free: 13.8 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3926, allocations: 5.156 kB / 454 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Templates: time 0.01509/0.4077, allocations: 7.209 MB / 461.2 MB, free: 11.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.750177742913365]