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.0007702/0.0007703, allocations: 95.95 kB / 17 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008636/0.0008636, allocations: 196.2 kB / 17.91 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002088/0.0002089, allocations: 8 kB / 307.1 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.08979, allocations: 51.52 MB / 358.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00321/0.09303, allocations: 3.129 MB / 361.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.09434, allocations: 0.9125 MB / 362.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.09451, allocations: 7.938 kB / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.09467, allocations: 63.47 kB / 362.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.0949, allocations: 130.9 kB / 362.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003368/0.09525, allocations: 135.7 kB / 363 MB, free: 9.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005057/0.09576, allocations: 0.5644 MB / 363.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.09604, allocations: 162 kB / 363.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.09631, allocations: 211.2 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002706/0.09659, allocations: 247 kB / 364.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.09665, allocations: 24 kB / 364.2 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.09674, allocations: 32 kB / 364.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.09683, allocations: 91.59 kB / 364.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.978e-05/0.09693, allocations: 117.5 kB / 364.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.09732, allocations: 462.9 kB / 364.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.09734, allocations: 0 / 364.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09734, allocations: 0 / 364.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.09735, allocations: 0 / 364.9 MB, free: 7.156 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001207/0.09857, allocations: 0.7522 MB / 365.6 MB, free: 6.355 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.09861, allocations: 12.03 kB / 365.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.0988, allocations: 75.17 kB / 365.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.09919, allocations: 334.2 kB / 366 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.09924, allocations: 40.88 kB / 366.1 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.09932, allocations: 59.86 kB / 366.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.1, allocations: 410.4 kB / 366.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.1001, allocations: 7.984 kB / 366.6 MB, free: 5.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.1001, allocations: 20 kB / 366.6 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1001, allocations: 12 kB / 366.6 MB, free: 5.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.1008, allocations: 387.8 kB / 367 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.103, allocations: 1.398 MB / 368.4 MB, free: 3.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.1038, allocations: 0.512 MB / 368.9 MB, free: 3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005819/0.1044, allocations: 332.1 kB / 369.2 MB, free: 2.672 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.1044, allocations: 12.64 kB / 369.2 MB, free: 2.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1045, allocations: 43.22 kB / 369.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 1.753e-06/0.1045, allocations: 0 / 369.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.1658/0.2702, allocations: 3.057 MB / 372.3 MB, free: 18.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.2703, allocations: 66.59 kB / 372.4 MB, free: 18.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.2706, allocations: 271.5 kB / 372.6 MB, free: 18.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.2706, allocations: 43.38 kB / 372.7 MB, free: 18.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2707, allocations: 209.2 kB / 372.9 MB, free: 18.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.271, allocations: 363.2 kB / 373.2 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.271, allocations: 16.53 kB / 373.3 MB, free: 18.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.2711, allocations: 365.1 kB / 373.6 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.2715, allocations: 237.5 kB / 373.8 MB, free: 18.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004938/0.272, allocations: 312.8 kB / 374.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.2725, allocations: 275 kB / 374.4 MB, free: 18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2725, allocations: 3.562 kB / 374.4 MB, free: 18 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001113/0.2736, allocations: 0.7311 MB / 375.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2737, allocations: 5.938 kB / 375.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2737, allocations: 4.469 kB / 375.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2737, allocations: 5.75 kB / 375.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.2745, allocations: 202.2 kB / 375.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2745, allocations: 5.156 kB / 375.4 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.2748, allocations: 34.53 kB / 375.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/0.2748, allocations: 26.53 kB / 375.4 MB, free: 17.83 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 (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 initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.275, allocations: 201.2 kB / 375.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.2751, allocations: 61.31 kB / 375.7 MB, free: 17.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.2752, allocations: 78.36 kB / 375.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.2753, allocations: 10.75 kB / 375.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.2753, allocations: 3.094 kB / 375.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.2753, allocations: 6.547 kB / 375.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.2777, allocations: 1.96 MB / 377.7 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.2777, allocations: 10.73 kB / 377.8 MB, free: 16.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.2784, allocations: 194.4 kB / 377.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.2785, allocations: 10.83 kB / 378 MB, free: 16.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.2785, allocations: 24.05 kB / 378 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.2785, allocations: 9.703 kB / 378 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.2785, allocations: 13.48 kB / 378 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.2801, allocations: 1.282 MB / 379.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.2801, allocations: 129.2 kB / 379.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.2802, allocations: 25.67 kB / 379.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.2805, allocations: 34.3 kB / 379.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.2806, allocations: 82.22 kB / 379.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.2807, allocations: 31.33 kB / 379.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.2809, allocations: 198 kB / 379.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2809, allocations: 0 / 379.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004685/0.2813, allocations: 158.9 kB / 379.9 MB, free: 15.4 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 (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001215/0.2815, allocations: 136.7 kB / 380.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009644/0.2824, allocations: 0.6591 MB / 380.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2824, allocations: 0 / 380.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.283, allocations: 422.9 kB / 381.1 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007451/0.2838, allocations: 131.5 kB / 381.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.2859, allocations: 1.838 MB / 383.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.2862, allocations: 0.8799 MB / 384 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.2865, allocations: 87 kB / 384.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.2867, allocations: 57.81 kB / 384.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2867, allocations: 0 / 384.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of Templates: time 0.01081/0.2975, allocations: 6.177 MB / 390.3 MB, free: 11.38 MB / 302.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/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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches