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.001582/0.001582, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001912/0.001912, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 67.95 kB / 307.1 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.107, allocations: 50.54 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005256/0.1123, allocations: 3.688 MB / 361.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1143, allocations: 0.9394 MB / 362.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.1145, allocations: 11.94 kB / 362.3 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1148, allocations: 59.53 kB / 362.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.1152, allocations: 134.9 kB / 362.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.1157, allocations: 139.9 kB / 362.6 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006843/0.1164, allocations: 0.6306 MB / 363.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000332/0.1167, allocations: 197.5 kB / 363.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.1171, allocations: 247.1 kB / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003613/0.1174, allocations: 282.8 kB / 364 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.172e-05/0.1175, allocations: 52 kB / 364 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1177, allocations: 52 kB / 364.1 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1178, allocations: 131.5 kB / 364.2 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.1181, allocations: 278.6 kB / 364.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005175/0.1186, allocations: 475.1 kB / 364.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1186, allocations: 0 / 364.9 MB, free: 7.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.788e-06/0.1186, allocations: 4 kB / 365 MB, free: 7.082 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1186, allocations: 3.938 kB / 365 MB, free: 7.078 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.001639/0.1203, allocations: 0.8301 MB / 365.8 MB, free: 6.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1203, allocations: 11.97 kB / 365.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.1205, allocations: 68.27 kB / 365.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.121, allocations: 346.6 kB / 366.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.1211, allocations: 41 kB / 366.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-05/0.1212, allocations: 48 kB / 366.3 MB, free: 5.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.122, allocations: 422.3 kB / 366.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.122, allocations: 4 kB / 366.7 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.1221, allocations: 20 kB / 366.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1221, allocations: 11.98 kB / 366.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007695/0.1229, allocations: 391.7 kB / 367.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002507/0.1254, allocations: 1.39 MB / 368.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008355/0.1263, allocations: 0.5159 MB / 369 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/0.127, allocations: 340.1 kB / 369.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.127, allocations: 12.64 kB / 369.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1271, allocations: 43.22 kB / 369.4 MB, free: 2.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=71): time 2.424e-06/0.1271, allocations: 0 / 369.4 MB, free: 2.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=107): time 0.1854/0.3125, allocations: 2.996 MB / 372.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.3126, allocations: 65.78 kB / 372.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.313, allocations: 281.1 kB / 372.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.313, allocations: 42.86 kB / 372.8 MB, free: 19.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.3132, allocations: 204.5 kB / 373 MB, free: 19.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.3134, allocations: 362.1 kB / 373.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.3137, allocations: 148.4 kB / 373.5 MB, free: 19.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3138, allocations: 368.1 kB / 373.8 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.3142, allocations: 237.4 kB / 374.1 MB, free: 19.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.3147, allocations: 315.4 kB / 374.4 MB, free: 19.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/0.3157, allocations: 0.5733 MB / 375 MB, free: 18.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3157, allocations: 5.781 kB / 375 MB, free: 18.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001293/0.317, allocations: 0.7322 MB / 375.7 MB, free: 18.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.317, allocations: 10.38 kB / 375.7 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.317, allocations: 0.8125 kB / 375.7 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.3171, allocations: 5.5 kB / 375.7 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/0.3179, allocations: 200.2 kB / 375.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.3179, allocations: 4.781 kB / 375.9 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003432/0.3182, allocations: 31.64 kB / 375.9 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.3183, allocations: 25.48 kB / 376 MB, free: 18.43 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 (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.0002444/0.3186, allocations: 202.9 kB / 376.2 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/0.3187, allocations: 55.62 kB / 376.2 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.3188, allocations: 86.19 kB / 376.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3188, allocations: 10.53 kB / 376.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/0.3189, allocations: 0 / 376.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.3189, allocations: 5.484 kB / 376.3 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.3215, allocations: 1.96 MB / 378.3 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.3215, allocations: 5.281 kB / 378.3 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007693/0.3223, allocations: 191 kB / 378.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.3223, allocations: 11.84 kB / 378.5 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.3224, allocations: 31.62 kB / 378.5 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.3224, allocations: 13.14 kB / 378.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.3224, allocations: 6.375 kB / 378.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.3241, allocations: 1.294 MB / 379.8 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3242, allocations: 136.9 kB / 380 MB, free: 16.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.3243, allocations: 29.19 kB / 380 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.3246, allocations: 27.97 kB / 380 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.3247, allocations: 78.33 kB / 380.1 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/0.3248, allocations: 31.61 kB / 380.1 MB, free: 16.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.325, allocations: 196 kB / 380.3 MB, free: 16.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.325, allocations: 0 / 380.3 MB, free: 16.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005524/0.3255, allocations: 158.7 kB / 380.5 MB, free: 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 (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.0001453/0.3257, allocations: 129.5 kB / 380.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.3273, allocations: 0.7135 MB / 381.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3273, allocations: 0 / 381.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.3279, allocations: 419.6 kB / 381.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008615/0.3288, allocations: 145.6 kB / 381.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3312, allocations: 1.823 MB / 383.7 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.3316, allocations: 0.8782 MB / 384.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.3319, allocations: 70.38 kB / 384.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3319, allocations: 0 / 384.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of Templates: time 0.01339/0.3453, allocations: 7.622 MB / 392.3 MB, free: 10.91 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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