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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 108.6 kB / 16.51 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 46.39 kB / 299.9 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08588/0.08696, allocations: 49.46 MB / 349.4 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004125/0.09111, allocations: 3.55 MB / 353 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.09245, allocations: 0.8723 MB / 353.8 MB, free: 324 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.09265, allocations: 11.94 kB / 353.8 MB, free: 312 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.09285, allocations: 59.53 kB / 353.9 MB, free: 252 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.0931, allocations: 123 kB / 354 MB, free: 128 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.0935, allocations: 135.9 kB / 354.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004964/0.09401, allocations: 0.5645 MB / 354.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.09429, allocations: 166.3 kB / 354.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.09454, allocations: 219.2 kB / 355.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.0948, allocations: 258.9 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.09488, allocations: 36 kB / 355.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.741e-05/0.09496, allocations: 32 kB / 355.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.04e-05/0.09506, allocations: 103.6 kB / 355.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.09528, allocations: 262.6 kB / 355.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005084/0.0958, allocations: 0.5646 MB / 356.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.09581, allocations: 0 / 356.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.09582, allocations: 3.938 kB / 356.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.09584, allocations: 3.938 kB / 356.3 MB, free: 13.79 MB / 302.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.001648/0.09749, allocations: 0.8459 MB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.09754, allocations: 8.031 kB / 357.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.09766, allocations: 60.28 kB / 357.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.09802, allocations: 331.2 kB / 357.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.09807, allocations: 29.38 kB / 357.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.593e-05/0.09815, allocations: 48.38 kB / 357.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/0.09914, allocations: 458.7 kB / 358.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.09919, allocations: 11.89 kB / 358.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.09925, allocations: 20 kB / 358.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.09927, allocations: 8 kB / 358.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1004, allocations: 451.7 kB / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.103, allocations: 1.398 MB / 360 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.104, allocations: 0.5363 MB / 360.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.1047, allocations: 363.8 kB / 360.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.1048, allocations: 12.55 kB / 360.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1048, allocations: 43.12 kB / 360.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 2.184e-06/0.1048, allocations: 4 kB / 360.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.007303/0.1121, allocations: 3.134 MB / 364.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.1122, allocations: 64.41 kB / 364.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.1125, allocations: 247 kB / 364.4 MB, free: 5.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.1125, allocations: 41.7 kB / 364.4 MB, free: 5.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1127, allocations: 201.2 kB / 364.6 MB, free: 5.238 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.1129, allocations: 350.8 kB / 364.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.1131, allocations: 146.7 kB / 365.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1133, allocations: 358.8 kB / 365.4 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000591/0.1138, allocations: 277.8 kB / 365.7 MB, free: 4.109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.1145, allocations: 349.4 kB / 366 MB, free: 3.758 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.1157, allocations: 0.6234 MB / 366.7 MB, free: 3.129 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1157, allocations: 0 / 366.7 MB, free: 3.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001451/0.1172, allocations: 0.778 MB / 367.4 MB, free: 2.344 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1172, allocations: 4.062 kB / 367.5 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.1172, allocations: 8 kB / 367.5 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.1172, allocations: 7.938 kB / 367.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/0.1181, allocations: 207.7 kB / 367.7 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.1181, allocations: 7.984 kB / 367.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.1184, allocations: 43.97 kB / 367.7 MB, free: 2.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.1185, allocations: 27.98 kB / 367.8 MB, free: 2.043 MB / 302.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.0002389/0.1187, allocations: 197.7 kB / 367.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.252e-05/0.1188, allocations: 55.44 kB / 368 MB, free: 1.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.119, allocations: 81.25 kB / 368.1 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.119, allocations: 12 kB / 368.1 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.119, allocations: 0 / 368.1 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1191, allocations: 7.922 kB / 368.1 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1565/0.2756, allocations: 1.989 MB / 370.1 MB, free: 25.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/0.2757, allocations: 7.438 kB / 370.1 MB, free: 25.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009997/0.2767, allocations: 205.5 kB / 370.3 MB, free: 25.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.586e-05/0.2768, allocations: 8.156 kB / 370.3 MB, free: 25.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.2769, allocations: 32.61 kB / 370.3 MB, free: 25.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-05/0.2769, allocations: 15.06 kB / 370.3 MB, free: 25.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.2769, allocations: 5 kB / 370.4 MB, free: 25.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.2794, allocations: 1.371 MB / 371.7 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.2795, allocations: 127.8 kB / 371.8 MB, free: 25.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.2797, allocations: 26.3 kB / 371.9 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/0.2801, allocations: 46.39 kB / 371.9 MB, free: 25.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.2803, allocations: 79.72 kB / 372 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.714e-05/0.2804, allocations: 30.14 kB / 372 MB, free: 25.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001934/0.2806, allocations: 178 kB / 372.2 MB, free: 25.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2806, allocations: 0.5 kB / 372.2 MB, free: 25.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005993/0.2812, allocations: 155.1 kB / 372.4 MB, free: 25.16 MB / 302.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.0001407/0.2813, allocations: 132.1 kB / 372.5 MB, free: 25.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.2828, allocations: 0.7243 MB / 373.2 MB, free: 24.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2828, allocations: 1.375 kB / 373.2 MB, free: 24.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007946/0.2836, allocations: 450.7 kB / 373.6 MB, free: 24.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008004/0.2844, allocations: 111.2 kB / 373.8 MB, free: 24.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.2868, allocations: 1.781 MB / 375.5 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.2871, allocations: 0.8693 MB / 376.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000381/0.2875, allocations: 77.84 kB / 376.5 MB, free: 22.76 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.2877, allocations: 60.39 kB / 376.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2877, allocations: 0 / 376.5 MB, free: 22.75 MB / 302.1 MB Notification: Performance of Templates: time 0.01361/0.3013, allocations: 6.06 MB / 382.6 MB, free: 21.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (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) 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) Reference file matches