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.001374/0.001374, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001497/0.001497, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.002648/0.002648, allocations: 47.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2566, allocations: 53.37 MB / 431.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004886/0.2615, allocations: 3.326 MB / 434.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.2633, allocations: 0.9159 MB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.2634, allocations: 11.94 kB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.2636, allocations: 87.09 kB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.264, allocations: 158.6 kB / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.2644, allocations: 167.6 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006511/0.2651, allocations: 0.6306 MB / 436.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.2654, allocations: 130 kB / 436.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.2657, allocations: 271 kB / 436.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.266, allocations: 242.8 kB / 437 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.181e-05/0.2661, allocations: 56 kB / 437.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.2662, allocations: 60 kB / 437.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2663, allocations: 119.6 kB / 437.2 MB, free: 448 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.2666, allocations: 238.9 kB / 437.5 MB, free: 208 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006821/0.2672, allocations: 0.6281 MB / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2672, allocations: 0 / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2672, allocations: 0 / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2673, allocations: 0 / 438.1 MB, free: 15.57 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.001491/0.2687, allocations: 0.7853 MB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2688, allocations: 8.031 kB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.561e-05/0.2689, allocations: 90.7 kB / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.2691, allocations: 72.55 kB / 439 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.2696, allocations: 285.5 kB / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.2697, allocations: 37 kB / 439.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/0.2697, allocations: 51.95 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.2705, allocations: 422.4 kB / 439.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.2705, allocations: 8 kB / 439.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.2706, allocations: 16 kB / 439.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.2706, allocations: 8 kB / 439.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007202/0.2713, allocations: 383.8 kB / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.2736, allocations: 1.243 MB / 441.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000809/0.2744, allocations: 475.8 kB / 441.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006541/0.2751, allocations: 312.1 kB / 442.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.222e-05/0.2752, allocations: 12.64 kB / 442.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.2752, allocations: 43.16 kB / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.084e-06/0.2752, allocations: 3.938 kB / 442.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006369/0.2816, allocations: 2.869 MB / 445.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.2816, allocations: 64.41 kB / 445.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.2819, allocations: 280.5 kB / 445.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.282, allocations: 45.7 kB / 445.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2821, allocations: 201.6 kB / 445.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.2824, allocations: 384.7 kB / 446.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.2826, allocations: 154.7 kB / 446.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.2828, allocations: 362.8 kB / 446.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.2833, allocations: 237.9 kB / 446.9 MB, free: 6.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.2838, allocations: 317.4 kB / 447.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.2847, allocations: 0.5766 MB / 447.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2847, allocations: 0 / 447.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00121/0.2859, allocations: 0.7355 MB / 448.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2859, allocations: 11.98 kB / 448.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.286, allocations: 0 / 448.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.286, allocations: 4 kB / 448.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.2867, allocations: 195.7 kB / 448.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.2867, allocations: 4 kB / 448.7 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.287, allocations: 27.98 kB / 448.7 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.287, allocations: 31.98 kB / 448.7 MB, free: 4.648 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.0002525/0.2873, allocations: 205.5 kB / 448.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.587e-05/0.2874, allocations: 63.62 kB / 449 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.2875, allocations: 77.62 kB / 449.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.2876, allocations: 12 kB / 449.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2876, allocations: 0 / 449.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2876, allocations: 3.984 kB / 449.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.2904, allocations: 1.801 MB / 450.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.2904, allocations: 4 kB / 450.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/0.2911, allocations: 191.7 kB / 451.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.2911, allocations: 12.59 kB / 451.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.2912, allocations: 28 kB / 451.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.376e-05/0.2912, allocations: 15.92 kB / 451.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2912, allocations: 8 kB / 451.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.2931, allocations: 1.291 MB / 452.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.361e-05/0.2932, allocations: 63.67 kB / 452.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/0.2932, allocations: 24 kB / 452.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.2936, allocations: 40.05 kB / 452.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.2937, allocations: 84.75 kB / 452.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.2938, allocations: 31.98 kB / 452.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.294, allocations: 195.1 kB / 452.9 MB, free: 328 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.294, allocations: 0 / 452.9 MB, free: 328 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005128/0.2945, allocations: 160 kB / 453 MB, free: 168 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.002241/0.2967, allocations: 1.87 MB / 454.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.2978, allocations: 0.6294 MB / 455.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.2978, allocations: 4 kB / 455.5 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000615/0.2985, allocations: 386.7 kB / 455.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.2993, allocations: 135.1 kB / 456 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/0.3064, allocations: 5.254 MB / 461.3 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.3067, allocations: 284.8 kB / 461.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.307, allocations: 85.19 kB / 461.7 MB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.3074, allocations: 215.4 kB / 461.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3074, allocations: 0 / 461.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05112/0.3585, allocations: 13.44 MB / 475.3 MB, free: 9.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.85, allocations: 3.938 kB / 475.3 MB, free: 9.828 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.299140400718898]