Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002258/0.002258, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 47.92 kB / 377.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2835, allocations: 53.37 MB / 431.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005951/0.2895, allocations: 3.678 MB / 434.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2918, allocations: 0.9626 MB / 435.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.2922, allocations: 11.94 kB / 435.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.2925, allocations: 83.16 kB / 435.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.2929, allocations: 166.5 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.2935, allocations: 175.6 kB / 436.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008391/0.2943, allocations: 0.6267 MB / 436.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.2946, allocations: 142 kB / 437 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.295, allocations: 263.1 kB / 437.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.2954, allocations: 278.8 kB / 437.5 MB, free: 492 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-05/0.2955, allocations: 52 kB / 437.5 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.2956, allocations: 60 kB / 437.6 MB, free: 380 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2957, allocations: 127.5 kB / 437.7 MB, free: 252 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002913/0.296, allocations: 278.8 kB / 438 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008966/0.2969, allocations: 0.6306 MB / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2969, allocations: 0 / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2969, allocations: 0 / 438.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2969, allocations: 0 / 438.6 MB, free: 15.34 MB / 350.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.001647/0.2986, allocations: 0.7776 MB / 439.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.2986, allocations: 8.031 kB / 439.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.2987, allocations: 90.7 kB / 439.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.299, allocations: 72.55 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.2995, allocations: 289.5 kB / 439.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.389e-05/0.2996, allocations: 33 kB / 439.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.133e-05/0.2997, allocations: 55.95 kB / 440 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/0.3004, allocations: 422.4 kB / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.3005, allocations: 0 / 440.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.3005, allocations: 20 kB / 440.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.3005, allocations: 12 kB / 440.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.3013, allocations: 387.8 kB / 440.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.3038, allocations: 1.344 MB / 442.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008341/0.3046, allocations: 487.2 kB / 442.6 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/0.3053, allocations: 308.1 kB / 442.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.3053, allocations: 12.64 kB / 442.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.3054, allocations: 43.16 kB / 442.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 3.216e-06/0.3054, allocations: 0 / 442.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006893/0.3123, allocations: 2.865 MB / 445.8 MB, free: 7.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.3123, allocations: 64.41 kB / 445.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.3127, allocations: 280.5 kB / 446.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.3127, allocations: 37.7 kB / 446.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.3129, allocations: 209.6 kB / 446.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.3133, allocations: 384.7 kB / 446.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.3135, allocations: 146.7 kB / 446.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3137, allocations: 366.8 kB / 447.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.3141, allocations: 237.9 kB / 447.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.3146, allocations: 317.4 kB / 447.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009826/0.3156, allocations: 0.5843 MB / 448.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3156, allocations: 0 / 448.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00144/0.317, allocations: 0.7393 MB / 449.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3171, allocations: 7.938 kB / 449.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3171, allocations: 0 / 449.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.3171, allocations: 8 kB / 449.1 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008563/0.318, allocations: 195.7 kB / 449.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.318, allocations: 4 kB / 449.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.3183, allocations: 36.05 kB / 449.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.3184, allocations: 31.98 kB / 449.4 MB, free: 4.297 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 (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.0002896/0.3186, allocations: 201.5 kB / 449.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.3188, allocations: 55.67 kB / 449.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.319, allocations: 77.62 kB / 449.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.319, allocations: 12 kB / 449.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.319, allocations: 0 / 449.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.3191, allocations: 3.984 kB / 449.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.3222, allocations: 1.903 MB / 451.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.3222, allocations: 8.031 kB / 451.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/0.323, allocations: 191.7 kB / 451.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/0.323, allocations: 12 kB / 451.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.3231, allocations: 23.98 kB / 451.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/0.3231, allocations: 11.94 kB / 451.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.3231, allocations: 8 kB / 451.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.3252, allocations: 1.302 MB / 453.2 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.3253, allocations: 59.56 kB / 453.3 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/0.3254, allocations: 23.98 kB / 453.3 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.3257, allocations: 31.98 kB / 453.3 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3258, allocations: 84.73 kB / 453.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.3259, allocations: 35.98 kB / 453.4 MB, free: 80 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.3261, allocations: 199.1 kB / 453.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3261, allocations: 0 / 453.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005449/0.3267, allocations: 156 kB / 453.8 MB, free: 15.73 MB / 366.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.002387/0.3291, allocations: 1.866 MB / 455.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.3304, allocations: 0.6372 MB / 456.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3304, allocations: 0 / 456.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.3311, allocations: 390.2 kB / 456.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009238/0.332, allocations: 136.2 kB / 456.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008001/0.34, allocations: 5.276 MB / 462.1 MB, free: 7.152 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.3406, allocations: 0.8803 MB / 463 MB, free: 6.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.3409, allocations: 81.2 kB / 463 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/0.3413, allocations: 215.4 kB / 463.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3413, allocations: 0 / 463.2 MB, free: 5.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04809/0.3894, allocations: 13.05 MB / 476.3 MB, free: 9.109 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.17, allocations: 9.938 kB / 476.3 MB, free: 9.105 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv","/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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactA.s_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable innerContactB.s_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactB.s_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable outerContactB.v_rel in file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable outerContactB.v_rel from file Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.687887109997973]