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.001704/0.001704, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002018/0.002018, allocations: 210.3 kB / 23.73 MB, free: 4.379 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001572/0.001572, allocations: 43.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2611, allocations: 53.37 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005778/0.2669, allocations: 3.322 MB / 434.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.2687, allocations: 0.9236 MB / 435.3 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.2689, allocations: 15.94 kB / 435.3 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.2691, allocations: 83.09 kB / 435.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.2694, allocations: 166.5 kB / 435.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005458/0.27, allocations: 171.7 kB / 435.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007296/0.2707, allocations: 0.6228 MB / 436.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.271, allocations: 142 kB / 436.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.2714, allocations: 259.1 kB / 436.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003543/0.2717, allocations: 286.8 kB / 437 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.253e-05/0.2718, allocations: 52 kB / 437.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.2719, allocations: 52 kB / 437.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.272, allocations: 123.6 kB / 437.3 MB, free: 452 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002293/0.2723, allocations: 246.9 kB / 437.5 MB, free: 204 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006901/0.273, allocations: 0.6281 MB / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.954e-06/0.273, allocations: 4 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.273, allocations: 0 / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.347e-06/0.273, allocations: 0 / 438.1 MB, free: 15.56 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.001483/0.2745, allocations: 0.7737 MB / 438.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2745, allocations: 12.02 kB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.2746, allocations: 86.72 kB / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.2748, allocations: 72.55 kB / 439.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.2753, allocations: 293.5 kB / 439.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.2754, allocations: 37 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.2754, allocations: 51.95 kB / 439.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008857/0.2763, allocations: 418.4 kB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.2763, allocations: 0 / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.2764, allocations: 20 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.2764, allocations: 16 kB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006926/0.2771, allocations: 387.7 kB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00245/0.2795, allocations: 1.235 MB / 441.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/0.2803, allocations: 475.9 kB / 442 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006524/0.281, allocations: 312 kB / 442.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.986e-05/0.281, allocations: 8.656 kB / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.2811, allocations: 47.14 kB / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.415e-06/0.2811, allocations: 0 / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006518/0.2876, allocations: 2.866 MB / 445.2 MB, free: 8.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.2877, allocations: 60.41 kB / 445.3 MB, free: 8.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.288, allocations: 288.4 kB / 445.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.288, allocations: 41.7 kB / 445.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.2882, allocations: 209.5 kB / 445.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/0.2885, allocations: 376.7 kB / 446.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.2887, allocations: 146.7 kB / 446.3 MB, free: 7.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.2889, allocations: 370.8 kB / 446.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.2893, allocations: 245.8 kB / 446.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000511/0.2899, allocations: 313.4 kB / 447.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009774/0.2908, allocations: 0.5766 MB / 447.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.2908, allocations: 0 / 447.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001226/0.2921, allocations: 0.7315 MB / 448.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.2921, allocations: 4 kB / 448.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2921, allocations: 0 / 448.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.2921, allocations: 12 kB / 448.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.2929, allocations: 199.8 kB / 448.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.2929, allocations: 4 kB / 448.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.2932, allocations: 35.92 kB / 448.8 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.994e-05/0.2932, allocations: 28 kB / 448.8 MB, free: 4.645 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.0002713/0.2935, allocations: 197.6 kB / 449 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2936, allocations: 59.62 kB / 449 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.2938, allocations: 81.62 kB / 449.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.2938, allocations: 16 kB / 449.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.2938, allocations: 7.922 kB / 449.2 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.2938, allocations: 3.984 kB / 449.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.2968, allocations: 1.793 MB / 450.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.2968, allocations: 4 kB / 451 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.2976, allocations: 191.7 kB / 451.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.2976, allocations: 8 kB / 451.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/0.2976, allocations: 31.98 kB / 451.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.2976, allocations: 11.94 kB / 451.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.2976, allocations: 4.5 kB / 451.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.2995, allocations: 1.302 MB / 452.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.2996, allocations: 63.62 kB / 452.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/0.2997, allocations: 23.98 kB / 452.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.3, allocations: 35.98 kB / 452.6 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.3002, allocations: 76.75 kB / 452.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/0.3002, allocations: 35.98 kB / 452.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.3004, allocations: 199.1 kB / 452.9 MB, free: 332 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3004, allocations: 0 / 452.9 MB, free: 332 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005056/0.3009, allocations: 156 kB / 453.1 MB, free: 176 kB / 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 (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.002235/0.3032, allocations: 1.876 MB / 455 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.3043, allocations: 0.6333 MB / 455.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3043, allocations: 0 / 455.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006295/0.3049, allocations: 382.6 kB / 456 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.3057, allocations: 140.9 kB / 456.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/0.3132, allocations: 5.256 MB / 461.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3135, allocations: 284.7 kB / 461.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003329/0.3138, allocations: 85.2 kB / 461.7 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.3142, allocations: 211.4 kB / 461.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3142, allocations: 0 / 461.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04884/0.363, allocations: 13.69 MB / 475.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.82, allocations: 6.859 kB / 475.6 MB, free: 9.578 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.349714974989183]