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.001881/0.001881, allocations: 108.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001784/0.001784, allocations: 185.2 kB / 23.72 MB, free: 4.719 MB / 14.72 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 1.401/1.401, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00155/0.00155, allocations: 51.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2762, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005107/0.2813, allocations: 3.584 MB / 426.2 MB, free: 11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.2832, allocations: 0.8723 MB / 427.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.2835, allocations: 15.88 kB / 427.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.2837, allocations: 83.22 kB / 427.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002868/0.284, allocations: 146.6 kB / 427.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.2844, allocations: 159.7 kB / 427.5 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.2851, allocations: 0.5918 MB / 428.1 MB, free: 9.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.2854, allocations: 142 kB / 428.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.2857, allocations: 247.2 kB / 428.4 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.2861, allocations: 278.9 kB / 428.7 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.786e-05/0.2861, allocations: 48 kB / 428.8 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.2863, allocations: 52 kB / 428.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2864, allocations: 115.6 kB / 428.9 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.2866, allocations: 270.7 kB / 429.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006937/0.2873, allocations: 0.6073 MB / 429.8 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2873, allocations: 7.938 kB / 429.8 MB, free: 7.375 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2873, allocations: 0 / 429.8 MB, free: 7.375 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.2873, allocations: 0 / 429.8 MB, free: 7.375 MB / 334.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.00153/0.2889, allocations: 0.7779 MB / 430.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2889, allocations: 8.031 kB / 430.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001056/0.289, allocations: 86.7 kB / 430.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.631e-05/0.2891, allocations: 60.55 kB / 430.7 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.2896, allocations: 261.2 kB / 431 MB, free: 6.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.2896, allocations: 37.38 kB / 431 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.2897, allocations: 56.31 kB / 431.1 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008785/0.2906, allocations: 458.4 kB / 431.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.2906, allocations: 0 / 431.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.328e-05/0.2906, allocations: 20 kB / 431.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.2906, allocations: 12 kB / 431.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.2917, allocations: 459.7 kB / 432 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.2941, allocations: 1.332 MB / 433.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009536/0.295, allocations: 0.5064 MB / 433.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007842/0.2958, allocations: 344 kB / 434.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.2958, allocations: 16.58 kB / 434.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.2959, allocations: 43.2 kB / 434.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 2.074e-06/0.2959, allocations: 0 / 434.2 MB, free: 2.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=103): time 0.007057/0.3029, allocations: 3.003 MB / 437.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.303, allocations: 64.41 kB / 437.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.3033, allocations: 256.2 kB / 437.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.3033, allocations: 41.7 kB / 437.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.3035, allocations: 197.5 kB / 437.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.3037, allocations: 372.8 kB / 438.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.3039, allocations: 142.7 kB / 438.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3041, allocations: 358.8 kB / 438.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005815/0.3047, allocations: 277.8 kB / 438.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/0.3054, allocations: 345.4 kB / 439.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.3066, allocations: 0.6272 MB / 439.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3066, allocations: 0 / 439.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001444/0.308, allocations: 0.7861 MB / 440.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.308, allocations: 4 kB / 440.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.308, allocations: 3.938 kB / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3081, allocations: 4 kB / 440.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/0.3088, allocations: 215.8 kB / 440.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3089, allocations: 7.938 kB / 440.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.3092, allocations: 47.95 kB / 440.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.3092, allocations: 31.98 kB / 441 MB, free: 11.95 MB / 350.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.0002413/0.3095, allocations: 193.7 kB / 441.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.232e-05/0.3096, allocations: 51.67 kB / 441.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.3097, allocations: 81.33 kB / 441.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.3097, allocations: 12 kB / 441.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.3098, allocations: 3.984 kB / 441.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.3098, allocations: 3.984 kB / 441.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.3129, allocations: 1.942 MB / 443.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.3129, allocations: 8.094 kB / 443.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/0.3136, allocations: 199.7 kB / 443.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.3137, allocations: 8 kB / 443.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.3137, allocations: 35.92 kB / 443.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.071e-05/0.3137, allocations: 8 kB / 443.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.3137, allocations: 7.938 kB / 443.5 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002221/0.3159, allocations: 1.369 MB / 444.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.316, allocations: 55.73 kB / 444.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.3161, allocations: 31.92 kB / 445 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.3165, allocations: 39.97 kB / 445 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.3166, allocations: 80.75 kB / 445.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.3166, allocations: 40.11 kB / 445.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001753/0.3168, allocations: 179 kB / 445.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3168, allocations: 0 / 445.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004918/0.3173, allocations: 156 kB / 445.5 MB, free: 7.27 MB / 350.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.002618/0.3199, allocations: 1.948 MB / 447.4 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.3213, allocations: 0.6996 MB / 448.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3213, allocations: 0 / 448.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007713/0.3221, allocations: 413.5 kB / 448.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007705/0.3229, allocations: 121.4 kB / 448.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008027/0.3309, allocations: 5.285 MB / 453.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.3314, allocations: 0.8645 MB / 454.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.3317, allocations: 76.97 kB / 454.9 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.332, allocations: 203.3 kB / 455.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.332, allocations: 4 kB / 455.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/0.3775, allocations: 12.31 MB / 467.4 MB, free: 1.238 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.16, allocations: 9.359 kB / 467.4 MB, free: 1.234 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/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] "Error: Could not read variable innerContactA.s_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactA.s_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable innerContactB.s_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactB.s_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable outerContactB.v_rel in file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable outerContactB.v_rel from file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.671415239998169]