Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 186.5 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 55.91 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2703, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004673/0.275, allocations: 3.239 MB / 426.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2766, allocations: 0.8412 MB / 427.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.2768, allocations: 11.94 kB / 427.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.277, allocations: 79.17 kB / 427.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.2773, allocations: 146.7 kB / 427.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.2777, allocations: 163.7 kB / 427.5 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006438/0.2783, allocations: 0.5917 MB / 428.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002765/0.2786, allocations: 141.8 kB / 428.3 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.279, allocations: 243.2 kB / 428.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.2793, allocations: 242.9 kB / 428.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.2794, allocations: 51.94 kB / 428.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.419e-05/0.2795, allocations: 52 kB / 428.8 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.2796, allocations: 119.6 kB / 429 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.2798, allocations: 223 kB / 429.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006652/0.2805, allocations: 0.6093 MB / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2805, allocations: 0 / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2805, allocations: 0 / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2805, allocations: 0 / 429.8 MB, free: 7.707 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001627/0.2821, allocations: 0.7817 MB / 430.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2822, allocations: 8.031 kB / 430.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2823, allocations: 60.61 kB / 430.6 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.2827, allocations: 269.1 kB / 430.9 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.2828, allocations: 37.38 kB / 430.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.2829, allocations: 48.33 kB / 431 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009193/0.2838, allocations: 454.7 kB / 431.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.2838, allocations: 4 kB / 431.4 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.654e-05/0.2839, allocations: 20 kB / 431.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.2839, allocations: 12 kB / 431.5 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.2849, allocations: 451.6 kB / 431.9 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.2873, allocations: 1.161 MB / 433.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009681/0.2883, allocations: 0.5033 MB / 433.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008157/0.2891, allocations: 340 kB / 433.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/0.2891, allocations: 8.656 kB / 433.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.2891, allocations: 47.09 kB / 434 MB, free: 3.414 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 1.933e-06/0.2892, allocations: 0 / 434 MB, free: 3.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007331/0.2965, allocations: 3.003 MB / 437 MB, free: 388 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.2965, allocations: 76.34 kB / 437 MB, free: 300 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.2968, allocations: 237.9 kB / 437.3 MB, free: 48 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.2969, allocations: 41.7 kB / 437.3 MB, free: 0 / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.297, allocations: 205.5 kB / 437.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.2973, allocations: 360.8 kB / 437.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.2976, allocations: 150.6 kB / 438 MB, free: 15.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.2977, allocations: 358.8 kB / 438.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000607/0.2984, allocations: 269.8 kB / 438.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006847/0.299, allocations: 361.3 kB / 439 MB, free: 14.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.3003, allocations: 0.6156 MB / 439.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3003, allocations: 0 / 439.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001588/0.3019, allocations: 0.7823 MB / 440.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.302, allocations: 12.06 kB / 440.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.302, allocations: 0 / 440.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.302, allocations: 4 kB / 440.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008602/0.3028, allocations: 207.6 kB / 440.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.3029, allocations: 8 kB / 440.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.3032, allocations: 43.97 kB / 440.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.3033, allocations: 31.98 kB / 440.7 MB, free: 12.59 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 (113): * Single equations (assignments): 113 * 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.0002969/0.3035, allocations: 193.7 kB / 440.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/0.3036, allocations: 55.67 kB / 440.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.3038, allocations: 77.3 kB / 441 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.3038, allocations: 11.94 kB / 441 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.3038, allocations: 0 / 441 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3039, allocations: 3.984 kB / 441 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003793/0.3077, allocations: 1.774 MB / 442.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.3077, allocations: 7.984 kB / 442.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.3089, allocations: 195.7 kB / 443 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/0.3089, allocations: 11.98 kB / 443 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/0.309, allocations: 28 kB / 443 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/0.309, allocations: 8.406 kB / 443 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/0.309, allocations: 19.86 kB / 443 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.3126, allocations: 1.361 MB / 444.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.3127, allocations: 59.66 kB / 444.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.3128, allocations: 20 kB / 444.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.3135, allocations: 47.95 kB / 444.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.3136, allocations: 80.75 kB / 444.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.073e-05/0.3137, allocations: 31.94 kB / 444.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.314, allocations: 177.1 kB / 444.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.314, allocations: 0 / 444.8 MB, free: 8.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000838/0.3148, allocations: 156 kB / 445 MB, free: 8.109 MB / 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 (103): * Single equations (assignments): 103 * 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.0002334/0.3151, allocations: 139 kB / 445.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.3173, allocations: 0.6918 MB / 445.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.3173, allocations: 0 / 445.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.3185, allocations: 418.7 kB / 446.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.3196, allocations: 120 kB / 446.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.3235, allocations: 1.544 MB / 447.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3239, allocations: 272.5 kB / 448.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004654/0.3244, allocations: 80.88 kB / 448.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.3247, allocations: 55.36 kB / 448.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3247, allocations: 0 / 448.3 MB, free: 4.699 MB / 350.1 MB Notification: Performance of Templates: time 0.02096/0.3456, allocations: 7.177 MB / 455.4 MB, free: 13.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.728944415226579]