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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001701/0.001701, allocations: 114.5 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001873/0.001873, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.741/1.741, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 60.05 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2967, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004853/0.3016, allocations: 3.652 MB / 413.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.3037, allocations: 0.9432 MB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004617/0.3042, allocations: 11.94 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.3045, allocations: 83.16 kB / 414.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.305, allocations: 158.5 kB / 414.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.3056, allocations: 159.7 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.3063, allocations: 0.6268 MB / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000338/0.3066, allocations: 197.5 kB / 415.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.307, allocations: 255.1 kB / 416 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.3073, allocations: 282.8 kB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-05/0.3074, allocations: 48 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3075, allocations: 60 kB / 416.4 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.982e-05/0.3076, allocations: 119.6 kB / 416.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.3079, allocations: 294.5 kB / 416.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.3085, allocations: 0.6161 MB / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3086, allocations: 0 / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3086, allocations: 4 kB / 417.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.3086, allocations: 0 / 417.4 MB, free: 10.1 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001499/0.3101, allocations: 0.8417 MB / 418.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3101, allocations: 8.031 kB / 418.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.3103, allocations: 72.17 kB / 418.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.3109, allocations: 354.7 kB / 418.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.3109, allocations: 33 kB / 418.7 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.298e-05/0.311, allocations: 59.89 kB / 418.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.3118, allocations: 414.4 kB / 419.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.3118, allocations: 0 / 419.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.3119, allocations: 23.98 kB / 419.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.3119, allocations: 12 kB / 419.2 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000709/0.3126, allocations: 387.7 kB / 419.6 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.315, allocations: 1.382 MB / 421 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007998/0.3158, allocations: 0.511 MB / 421.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.3165, allocations: 348 kB / 421.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.3166, allocations: 12.59 kB / 421.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.3166, allocations: 43.2 kB / 421.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.004e-06/0.3166, allocations: 0 / 421.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=107): time 0.006623/0.3232, allocations: 3.007 MB / 424.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3233, allocations: 60.41 kB / 424.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3236, allocations: 280.5 kB / 425.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.3236, allocations: 49.7 kB / 425.2 MB, free: 1.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3238, allocations: 201.3 kB / 425.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.324, allocations: 366.6 kB / 425.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.3243, allocations: 146.7 kB / 425.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3245, allocations: 362.8 kB / 426.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.3249, allocations: 241.8 kB / 426.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004621/0.3253, allocations: 317.4 kB / 426.8 MB, free: 332 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/0.3263, allocations: 0.5728 MB / 427.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3263, allocations: 3.938 kB / 427.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001182/0.3275, allocations: 0.7351 MB / 428.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3276, allocations: 8 kB / 428.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3276, allocations: 64 / 428.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.3276, allocations: 8 kB / 428.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007433/0.3283, allocations: 199.7 kB / 428.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.3284, allocations: 4 kB / 428.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.3287, allocations: 31.92 kB / 428.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.3288, allocations: 28 kB / 428.4 MB, free: 14.72 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.0002548/0.329, allocations: 205.5 kB / 428.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.765e-05/0.3291, allocations: 59.33 kB / 428.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.3293, allocations: 81.62 kB / 428.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3293, allocations: 12 kB / 428.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.3293, allocations: 0 / 428.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.3293, allocations: 3.984 kB / 428.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.3324, allocations: 1.936 MB / 430.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.3324, allocations: 7.938 kB / 430.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/0.3332, allocations: 191.7 kB / 430.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-05/0.3332, allocations: 8 kB / 430.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.3333, allocations: 32.58 kB / 431 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/0.3333, allocations: 11.94 kB / 431 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3333, allocations: 8 kB / 431 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.3352, allocations: 1.29 MB / 432.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.3354, allocations: 132.5 kB / 432.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.473e-05/0.3355, allocations: 24 kB / 432.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.3358, allocations: 31.98 kB / 432.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.336, allocations: 80.78 kB / 432.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.336, allocations: 32 kB / 432.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002146/0.3362, allocations: 195.1 kB / 432.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3363, allocations: 0 / 432.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005628/0.3368, allocations: 156 kB / 432.9 MB, free: 10.04 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 (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.0002219/0.3371, allocations: 143 kB / 433 MB, free: 9.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3384, allocations: 0.6645 MB / 433.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/0.3384, allocations: 4 kB / 433.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006669/0.3391, allocations: 422.2 kB / 434.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/0.34, allocations: 148.1 kB / 434.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.3427, allocations: 1.561 MB / 435.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.3433, allocations: 0.8803 MB / 436.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.3435, allocations: 67.42 kB / 436.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3435, allocations: 0 / 436.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Templates: time 0.01334/0.3569, allocations: 7.762 MB / 444.5 MB, free: 14.29 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches