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.001369/0.001369, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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: 211.4 kB / 24.48 MB, free: 3.934 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.464/1.464, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.001961/0.001961, allocations: 71.83 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2358, allocations: 53.42 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004935/0.2407, allocations: 3.314 MB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.2426, allocations: 0.9276 MB / 436.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.2428, allocations: 11.94 kB / 436.7 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.243, allocations: 79.16 kB / 436.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.2434, allocations: 170.5 kB / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.2438, allocations: 163.7 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006622/0.2445, allocations: 0.6228 MB / 437.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.2448, allocations: 130 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003752/0.2451, allocations: 263.1 kB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.2455, allocations: 250.8 kB / 438.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.2456, allocations: 52 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.2457, allocations: 60 kB / 438.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.2458, allocations: 123.6 kB / 438.5 MB, free: 392 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.246, allocations: 231 kB / 438.8 MB, free: 160 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.2467, allocations: 0.6396 MB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2467, allocations: 0 / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2467, allocations: 0 / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2467, allocations: 0 / 439.4 MB, free: 15.52 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.001536/0.2483, allocations: 0.7737 MB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.2483, allocations: 15.97 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.2486, allocations: 72.55 kB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00056/0.2491, allocations: 289.7 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.2492, allocations: 33 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.129e-05/0.2492, allocations: 55.89 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.25, allocations: 422.4 kB / 441 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.25, allocations: 7.984 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.2501, allocations: 24 kB / 441.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.2501, allocations: 12 kB / 441.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007339/0.2508, allocations: 379.8 kB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.2532, allocations: 1.165 MB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007868/0.2539, allocations: 472.5 kB / 443.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.2546, allocations: 308.3 kB / 443.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.2547, allocations: 8.656 kB / 443.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.2547, allocations: 51.2 kB / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.524e-06/0.2547, allocations: 0 / 443.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006608/0.2613, allocations: 2.878 MB / 446.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.2613, allocations: 60.41 kB / 446.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.2617, allocations: 268.2 kB / 446.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.2617, allocations: 41.7 kB / 446.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.2619, allocations: 205.5 kB / 446.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.2621, allocations: 380.7 kB / 447.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.2624, allocations: 150.6 kB / 447.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2625, allocations: 366.8 kB / 447.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.263, allocations: 241.8 kB / 448 MB, free: 6.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005094/0.2635, allocations: 317.4 kB / 448.3 MB, free: 6.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.2645, allocations: 0.5727 MB / 448.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2645, allocations: 0 / 448.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00125/0.2658, allocations: 0.7432 MB / 449.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2658, allocations: 4 kB / 449.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2658, allocations: 8.062 kB / 449.6 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2658, allocations: 4 kB / 449.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.2666, allocations: 195.7 kB / 449.8 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.2666, allocations: 4 kB / 449.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.2669, allocations: 31.98 kB / 449.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.237e-05/0.2669, allocations: 27.98 kB / 449.9 MB, free: 4.785 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.0002625/0.2672, allocations: 201.6 kB / 450.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.2673, allocations: 59.61 kB / 450.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.2675, allocations: 81.56 kB / 450.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.2675, allocations: 12 kB / 450.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.2675, allocations: 0 / 450.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.2675, allocations: 7.922 kB / 450.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/0.2703, allocations: 1.716 MB / 452 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.2703, allocations: 4 kB / 452 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.2711, allocations: 199.7 kB / 452.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.2711, allocations: 8 kB / 452.2 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/0.2712, allocations: 23.98 kB / 452.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.2712, allocations: 12.56 kB / 452.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.2712, allocations: 11.94 kB / 452.2 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.2731, allocations: 1.291 MB / 453.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.2732, allocations: 59.62 kB / 453.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.2732, allocations: 23.98 kB / 453.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.2736, allocations: 31.98 kB / 453.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.2737, allocations: 80.75 kB / 453.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.847e-05/0.2738, allocations: 44.06 kB / 453.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.2739, allocations: 187.1 kB / 453.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2739, allocations: 0 / 453.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005018/0.2744, allocations: 163.9 kB / 454.1 MB, free: 424 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.0001675/0.2746, allocations: 138.1 kB / 454.2 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.2757, allocations: 0.6333 MB / 454.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2757, allocations: 4.125 kB / 454.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006338/0.2764, allocations: 377.4 kB / 455.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008084/0.2772, allocations: 141.6 kB / 455.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.2798, allocations: 1.585 MB / 456.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.2801, allocations: 280.9 kB / 457.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.2803, allocations: 67.42 kB / 457.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2803, allocations: 0 / 457.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01177/0.2921, allocations: 7.927 MB / 465.2 MB, free: 5.168 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: 7.9095158111304045]