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.0008926/0.0008925, allocations: 99.14 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001014/0.001014, allocations: 208.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002397, allocations: 8 kB / 306.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1031, allocations: 51.48 MB / 358.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003469/0.1066, allocations: 2.856 MB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1089, allocations: 0.9197 MB / 361.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.1094, allocations: 11.94 kB / 361.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.1096, allocations: 59.47 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.1101, allocations: 167.6 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004935/0.1106, allocations: 115.8 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000737/0.1114, allocations: 399.7 kB / 362.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.1117, allocations: 154 kB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004899/0.1122, allocations: 207.2 kB / 362.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004383/0.1127, allocations: 235 kB / 363.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.006e-05/0.1128, allocations: 28 kB / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.1129, allocations: 28 kB / 363.2 MB, free: 8.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.221e-05/0.113, allocations: 87.66 kB / 363.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.1132, allocations: 117.5 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.1136, allocations: 439 kB / 363.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1137, allocations: 0 / 363.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1137, allocations: 0 / 363.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.318e-05/0.1137, allocations: 0 / 363.8 MB, free: 8.348 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.001649/0.1153, allocations: 0.803 MB / 364.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1154, allocations: 8.031 kB / 364.6 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.1157, allocations: 67.33 kB / 364.7 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.1162, allocations: 318.1 kB / 365 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.1162, allocations: 29 kB / 365 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.1164, allocations: 51.95 kB / 365.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1174, allocations: 470.3 kB / 365.6 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.1175, allocations: 3.906 kB / 365.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.1175, allocations: 20 kB / 365.6 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.1175, allocations: 16 kB / 365.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1186, allocations: 483.7 kB / 366.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.121, allocations: 1.398 MB / 367.5 MB, free: 4.555 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009202/0.122, allocations: 0.5492 MB / 368 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.122, allocations: 16.55 kB / 368 MB, free: 3.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.1221, allocations: 39.12 kB / 368.1 MB, free: 3.938 MB / 302.1 MB Notification: Performance of pre-optimization done (n=67): time 1.974e-06/0.1221, allocations: 4 kB / 368.1 MB, free: 3.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=103): time 0.007452/0.1295, allocations: 3.285 MB / 371.4 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.1296, allocations: 60.41 kB / 371.4 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.1299, allocations: 255 kB / 371.7 MB, free: 240 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.1299, allocations: 41.7 kB / 371.7 MB, free: 192 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1831/0.313, allocations: 194.4 kB / 371.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/0.3135, allocations: 344.7 kB / 372.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.3136, allocations: 18.41 kB / 372.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.3138, allocations: 365.5 kB / 372.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007652/0.3145, allocations: 287.3 kB / 372.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.3153, allocations: 361.3 kB / 373.2 MB, free: 19.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.3159, allocations: 314.6 kB / 373.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.316, allocations: 0 / 373.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001937/0.3179, allocations: 0.8135 MB / 374.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.3179, allocations: 5.562 kB / 374.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.318, allocations: 1.062 kB / 374.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.318, allocations: 4.672 kB / 374.4 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/0.3189, allocations: 218.1 kB / 374.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3189, allocations: 7.312 kB / 374.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.3193, allocations: 61.41 kB / 374.7 MB, free: 19.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.3194, allocations: 32.17 kB / 374.7 MB, free: 19.33 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 (113): * Single equations (assignments): 113 * 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.0002689/0.3197, allocations: 196.2 kB / 374.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/0.3198, allocations: 55.19 kB / 374.9 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.3199, allocations: 69.22 kB / 375 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.3199, allocations: 9.625 kB / 375 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.3199, allocations: 5.797 kB / 375 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.32, allocations: 5.203 kB / 375 MB, free: 19.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.3229, allocations: 2.026 MB / 377 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.323, allocations: 8.312 kB / 377.1 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008042/0.3238, allocations: 211.8 kB / 377.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.3238, allocations: 9.031 kB / 377.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.3238, allocations: 25.77 kB / 377.3 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/0.3239, allocations: 12.59 kB / 377.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.3239, allocations: 9.781 kB / 377.3 MB, free: 18.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.3262, allocations: 1.629 MB / 378.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3263, allocations: 134.8 kB / 379.1 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/0.3264, allocations: 22.98 kB / 379.1 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.3268, allocations: 60.61 kB / 379.2 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.3269, allocations: 80.75 kB / 379.2 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/0.327, allocations: 30.59 kB / 379.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001555/0.3271, allocations: 176.1 kB / 379.4 MB, free: 16.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3271, allocations: 0 / 379.4 MB, free: 16.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005749/0.3277, allocations: 155 kB / 379.6 MB, free: 16.75 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 (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.0001377/0.3279, allocations: 125.9 kB / 379.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.3292, allocations: 0.7575 MB / 380.5 MB, free: 16.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3292, allocations: 1.219 kB / 380.5 MB, free: 16.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007251/0.33, allocations: 460 kB / 380.9 MB, free: 16.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.3306, allocations: 97.17 kB / 381 MB, free: 16.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.333, allocations: 1.84 MB / 382.9 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.3334, allocations: 0.8776 MB / 383.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003145/0.3337, allocations: 78.17 kB / 383.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.3339, allocations: 56.23 kB / 383.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3339, allocations: 0 / 383.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of Templates: time 0.01092/0.3448, allocations: 5.743 MB / 389.6 MB, free: 12.81 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","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches