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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000822/0.000822, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007613/0.0007613, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8898/0.8898, allocations: 173.4 MB / 200.5 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 318.4 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.326e-05, allocations: 5.516 kB / 318.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003223/0.003246, allocations: 3.216 MB / 321.6 MB, free: 2.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004449, allocations: 0.8489 MB / 322.5 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.004677, allocations: 11.94 kB / 322.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.004859, allocations: 87.05 kB / 322.6 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.005205, allocations: 158.5 kB / 322.7 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.005579, allocations: 159.6 kB / 322.9 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004394/0.006018, allocations: 0.6266 MB / 323.5 MB, free: 1.098 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.006231, allocations: 134 kB / 323.7 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.006551, allocations: 363.2 kB / 324 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.006727, allocations: 203.4 kB / 324.2 MB, free: 420 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.006783, allocations: 48 kB / 324.3 MB, free: 372 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.788e-05/0.006831, allocations: 52 kB / 324.3 MB, free: 320 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.006907, allocations: 127.5 kB / 324.4 MB, free: 192 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.00703, allocations: 183.6 kB / 324.6 MB, free: 8 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.007452, allocations: 0.6229 MB / 325.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.007455, allocations: 0 / 325.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.007457, allocations: 0 / 325.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.007465, allocations: 0 / 325.2 MB, free: 15.38 MB / 298.7 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.0009836/0.008448, allocations: 0.781 MB / 326 MB, free: 14.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.008488, allocations: 8.922 kB / 326 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.517e-05/0.008553, allocations: 86.72 kB / 326.1 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.008621, allocations: 60.56 kB / 326.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.009249, allocations: 276.4 kB / 326.4 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.009285, allocations: 29.38 kB / 326.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.009339, allocations: 48.38 kB / 326.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.009917, allocations: 450.9 kB / 327 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.009935, allocations: 8.141 kB / 327 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.009966, allocations: 24.12 kB / 327 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.009976, allocations: 12 kB / 327 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.01058, allocations: 447.7 kB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.01213, allocations: 1.235 MB / 328.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.01271, allocations: 0.4947 MB / 329.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.01318, allocations: 355.9 kB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.01321, allocations: 4.656 kB / 329.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.01323, allocations: 39.22 kB / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 2.334e-06/0.01323, allocations: 0 / 329.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=103): time 0.004481/0.01771, allocations: 3.009 MB / 332.6 MB, free: 7.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.01776, allocations: 68.33 kB / 332.6 MB, free: 7.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.01797, allocations: 256.2 kB / 332.9 MB, free: 7.527 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.018, allocations: 37.7 kB / 332.9 MB, free: 7.484 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.01811, allocations: 201.6 kB / 333.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/0.01859, allocations: 368.8 kB / 333.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.01874, allocations: 146.7 kB / 333.6 MB, free: 6.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.01885, allocations: 358.8 kB / 334 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.0192, allocations: 277.8 kB / 334.2 MB, free: 6.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.01957, allocations: 345.4 kB / 334.6 MB, free: 5.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/0.02028, allocations: 0.6195 MB / 335.2 MB, free: 5.164 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.02029, allocations: 7.984 kB / 335.2 MB, free: 5.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0008597/0.02115, allocations: 0.7784 MB / 336 MB, free: 4.375 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.02117, allocations: 8 kB / 336 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.02117, allocations: 0 / 336 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.02119, allocations: 4 kB / 336 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.02161, allocations: 211.8 kB / 336.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.02163, allocations: 11.92 kB / 336.2 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.02181, allocations: 43.97 kB / 336.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.02184, allocations: 31.98 kB / 336.3 MB, free: 4.07 MB / 298.7 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.0001852/0.02203, allocations: 194.2 kB / 336.5 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.02209, allocations: 55.67 kB / 336.5 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.793e-05/0.02219, allocations: 77.39 kB / 336.6 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.02219, allocations: 12 kB / 336.6 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.0222, allocations: 3.938 kB / 336.6 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.02221, allocations: 3.984 kB / 336.6 MB, free: 3.719 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.02414, allocations: 1.833 MB / 338.5 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.02415, allocations: 8.125 kB / 338.5 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.02455, allocations: 211.7 kB / 338.7 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.02456, allocations: 8 kB / 338.7 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.02459, allocations: 24 kB / 338.7 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.0246, allocations: 11.98 kB / 338.7 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.02461, allocations: 11.88 kB / 338.7 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.02595, allocations: 1.365 MB / 340.1 MB, free: 60 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.02601, allocations: 55.73 kB / 340.1 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.02607, allocations: 20.08 kB / 340.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.02626, allocations: 51.95 kB / 340.2 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.02634, allocations: 76.75 kB / 340.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.02637, allocations: 39.92 kB / 340.3 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003622/0.02673, allocations: 175.1 kB / 340.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.02673, allocations: 0 / 340.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003365/0.02707, allocations: 152 kB / 340.7 MB, free: 15.5 MB / 314.7 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.001515/0.02858, allocations: 1.936 MB / 342.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008583/0.02944, allocations: 0.6996 MB / 343.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.02944, allocations: 0 / 343.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.02989, allocations: 410.7 kB / 343.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.03039, allocations: 130.9 kB / 343.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.03541, allocations: 5.161 MB / 349 MB, free: 6.887 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.03558, allocations: 268.5 kB / 349.2 MB, free: 6.594 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002195/0.0358, allocations: 80.97 kB / 349.3 MB, free: 6.516 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.036, allocations: 196.4 kB / 349.5 MB, free: 6.324 MB / 314.7 MB Notification: Performance of SimCode: time 8.51e-07/0.03601, allocations: 0 / 349.5 MB, free: 6.324 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.06183, allocations: 12.75 MB / 362.3 MB, free: 9.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.908, allocations: 11.98 kB / 362.3 MB, free: 9.773 MB / 330.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.559014252386987]