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.002011/0.002011, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.002847/0.002847, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.543/1.543, allocations: 230.5 MB / 258.1 MB, free: 7.984 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.002166/0.002166, allocations: 59.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2814, allocations: 53.41 MB / 432.4 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.006037/0.2875, allocations: 3.691 MB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.2898, allocations: 0.9587 MB / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000536/0.2903, allocations: 15.88 kB / 437.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.2907, allocations: 79.16 kB / 437.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006433/0.2914, allocations: 162.5 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.292, allocations: 163.7 kB / 437.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000996/0.293, allocations: 0.6267 MB / 438.1 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.2934, allocations: 150 kB / 438.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.2939, allocations: 263.1 kB / 438.5 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005455/0.2945, allocations: 290.8 kB / 438.8 MB, free: 348 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.2946, allocations: 48 kB / 438.9 MB, free: 300 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.2948, allocations: 56 kB / 438.9 MB, free: 244 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.2949, allocations: 119.6 kB / 439 MB, free: 124 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.2952, allocations: 286.6 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008604/0.2961, allocations: 0.6275 MB / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2961, allocations: 0 / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2961, allocations: 0 / 439.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.048e-05/0.2961, allocations: 0 / 439.9 MB, free: 15.21 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.001855/0.298, allocations: 0.7737 MB / 440.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.298, allocations: 8.031 kB / 440.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/0.2983, allocations: 72.55 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.2989, allocations: 293.7 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.299, allocations: 37 kB / 441.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.2991, allocations: 55.89 kB / 441.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008184/0.2999, allocations: 418.4 kB / 441.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.2999, allocations: 4 kB / 441.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.2999, allocations: 23.94 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.3, allocations: 8 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007961/0.3008, allocations: 387.8 kB / 442 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.3035, allocations: 1.34 MB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/0.3043, allocations: 479.2 kB / 443.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/0.305, allocations: 316.4 kB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.386e-05/0.3051, allocations: 16.62 kB / 444.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.3051, allocations: 35.22 kB / 444.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.274e-06/0.3051, allocations: 0 / 444.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.007106/0.3122, allocations: 2.874 MB / 447 MB, free: 7.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.3123, allocations: 60.41 kB / 447.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.3126, allocations: 276.6 kB / 447.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.3127, allocations: 45.7 kB / 447.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.3129, allocations: 209.5 kB / 447.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.3132, allocations: 380.7 kB / 448 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.3135, allocations: 150.7 kB / 448.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.3137, allocations: 362.8 kB / 448.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.3142, allocations: 241.9 kB / 448.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/0.3147, allocations: 321.4 kB / 449 MB, free: 5.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.3158, allocations: 0.5766 MB / 449.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.3158, allocations: 3.938 kB / 449.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00134/0.3171, allocations: 0.7354 MB / 450.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.3171, allocations: 8 kB / 450.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3171, allocations: 3.984 kB / 450.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3172, allocations: 4 kB / 450.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007927/0.3179, allocations: 195.8 kB / 450.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.318, allocations: 8 kB / 450.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.3183, allocations: 27.98 kB / 450.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.3184, allocations: 31.98 kB / 450.6 MB, free: 4.273 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.0002936/0.3187, allocations: 205.5 kB / 450.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3188, allocations: 55.67 kB / 450.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.319, allocations: 77.62 kB / 450.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.319, allocations: 16 kB / 451 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.319, allocations: 3.984 kB / 451 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.319, allocations: 3.984 kB / 451 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.3223, allocations: 1.898 MB / 452.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.3223, allocations: 4 kB / 452.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008531/0.3232, allocations: 195.7 kB / 453.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.93e-05/0.3232, allocations: 8 kB / 453.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/0.3233, allocations: 31.98 kB / 453.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.3233, allocations: 8 kB / 453.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.3233, allocations: 12.38 kB / 453.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.3254, allocations: 1.295 MB / 454.4 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.3255, allocations: 55.69 kB / 454.5 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.926e-05/0.3256, allocations: 27.98 kB / 454.5 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.326, allocations: 31.98 kB / 454.5 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.3262, allocations: 80.75 kB / 454.6 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.719e-05/0.3262, allocations: 35.98 kB / 454.6 MB, free: 52 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.3265, allocations: 199.1 kB / 454.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3265, allocations: 3.938 kB / 454.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006236/0.3271, allocations: 160 kB / 455 MB, free: 15.69 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.0002086/0.3273, allocations: 138.9 kB / 455.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.3286, allocations: 0.6333 MB / 455.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3286, allocations: 0 / 455.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006845/0.3293, allocations: 382.8 kB / 456.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008788/0.3302, allocations: 149.9 kB / 456.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.3332, allocations: 1.589 MB / 457.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/0.3338, allocations: 0.8764 MB / 458.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.334, allocations: 67.41 kB / 458.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.334, allocations: 0 / 458.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of Templates: time 0.01479/0.3488, allocations: 7.717 MB / 466.5 MB, free: 4.055 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/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: 8.357928428100422]