Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001654/0.001654, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001918/0.001918, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 8.031 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 68.75 kB / 379 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2651, allocations: 53.37 MB / 432.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00517/0.2703, allocations: 3.688 MB / 436.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.272, allocations: 0.9548 MB / 437 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.2722, allocations: 11.94 kB / 437.1 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.2725, allocations: 87.09 kB / 437.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003527/0.2729, allocations: 162.6 kB / 437.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.2735, allocations: 167.7 kB / 437.5 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008899/0.2744, allocations: 0.6228 MB / 438.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.2747, allocations: 142 kB / 438.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.2751, allocations: 271.1 kB / 438.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.2755, allocations: 278.8 kB / 438.8 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.64e-05/0.2756, allocations: 52 kB / 438.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.2757, allocations: 56 kB / 438.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2758, allocations: 127.5 kB / 439 MB, free: 400 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.2761, allocations: 282.6 kB / 439.3 MB, free: 116 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007714/0.2769, allocations: 0.6318 MB / 439.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2769, allocations: 0 / 439.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2769, allocations: 0 / 439.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2769, allocations: 0 / 439.9 MB, free: 15.48 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.001593/0.2785, allocations: 0.7737 MB / 440.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.2785, allocations: 8.031 kB / 440.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.2788, allocations: 72.55 kB / 440.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.2794, allocations: 293.7 kB / 441 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.2794, allocations: 41 kB / 441.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.874e-05/0.2795, allocations: 51.95 kB / 441.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008185/0.2804, allocations: 418.4 kB / 441.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.2804, allocations: 0 / 441.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/0.2804, allocations: 20 kB / 441.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2804, allocations: 12 kB / 441.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.2812, allocations: 387.8 kB / 441.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.2836, allocations: 1.348 MB / 443.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.2844, allocations: 475.3 kB / 443.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.285, allocations: 312.1 kB / 444.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.2851, allocations: 12.64 kB / 444.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2851, allocations: 39.22 kB / 444.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 1.803e-06/0.2851, allocations: 0 / 444.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006419/0.2915, allocations: 2.877 MB / 447 MB, free: 8.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.2916, allocations: 60.41 kB / 447.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.2919, allocations: 276.6 kB / 447.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.2919, allocations: 45.7 kB / 447.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.2921, allocations: 209.5 kB / 447.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.2924, allocations: 384.7 kB / 447.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.2926, allocations: 146.7 kB / 448.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.2928, allocations: 366.8 kB / 448.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.2932, allocations: 237.9 kB / 448.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.2937, allocations: 313.4 kB / 449 MB, free: 6.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009866/0.2947, allocations: 0.5766 MB / 449.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2947, allocations: 3.938 kB / 449.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001206/0.2959, allocations: 0.7432 MB / 450.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2959, allocations: 4 kB / 450.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2959, allocations: 7.938 kB / 450.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.2959, allocations: 4 kB / 450.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.2967, allocations: 203.8 kB / 450.5 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.2967, allocations: 4 kB / 450.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.297, allocations: 27.98 kB / 450.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.157e-05/0.297, allocations: 28 kB / 450.6 MB, free: 4.543 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.0002526/0.2973, allocations: 209.5 kB / 450.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/0.2974, allocations: 55.67 kB / 450.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.2976, allocations: 77.62 kB / 450.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.2976, allocations: 12 kB / 450.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2976, allocations: 4 kB / 450.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.2976, allocations: 7.969 kB / 450.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.3005, allocations: 1.898 MB / 452.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3005, allocations: 4 kB / 452.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.3012, allocations: 195.7 kB / 453 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.3013, allocations: 8 kB / 453 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.3013, allocations: 24 kB / 453.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.418e-05/0.3013, allocations: 19.92 kB / 453.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.3013, allocations: 4 kB / 453.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.3032, allocations: 1.291 MB / 454.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.119e-05/0.3033, allocations: 63.61 kB / 454.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.3034, allocations: 31.94 kB / 454.5 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.3037, allocations: 27.98 kB / 454.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.3039, allocations: 88.73 kB / 454.6 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.3039, allocations: 28 kB / 454.6 MB, free: 324 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.3041, allocations: 195.1 kB / 454.8 MB, free: 128 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3041, allocations: 0 / 454.8 MB, free: 128 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.3046, allocations: 156 kB / 455 MB, free: 15.97 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.0001865/0.3048, allocations: 145.5 kB / 455.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.306, allocations: 0.6333 MB / 455.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.306, allocations: 3.938 kB / 455.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.3066, allocations: 382.8 kB / 456.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/0.3074, allocations: 147.2 kB / 456.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002526/0.3099, allocations: 1.552 MB / 457.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.3105, allocations: 0.8803 MB / 458.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.3108, allocations: 85.2 kB / 458.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.3109, allocations: 59.42 kB / 458.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3109, allocations: 0 / 458.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Templates: time 0.01474/0.3257, allocations: 7.628 MB / 466.5 MB, free: 4.434 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.688921947032213]