Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.84 kB / 377.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2486, allocations: 53.4 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.00492/0.2535, allocations: 3.325 MB / 434.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002155/0.2556, allocations: 0.912 MB / 435.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.256, allocations: 11.94 kB / 435.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.2562, allocations: 83.16 kB / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.2566, allocations: 170.5 kB / 435.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.2572, allocations: 175.6 kB / 435.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007622/0.2579, allocations: 0.6228 MB / 436.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.2582, allocations: 138 kB / 436.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.2586, allocations: 255.1 kB / 436.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.259, allocations: 254.8 kB / 437.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.289e-05/0.2591, allocations: 52 kB / 437.1 MB, free: 460 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.2592, allocations: 55.98 kB / 437.2 MB, free: 404 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.2593, allocations: 119.6 kB / 437.3 MB, free: 284 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002426/0.2595, allocations: 239 kB / 437.5 MB, free: 44 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007587/0.2603, allocations: 0.6319 MB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2603, allocations: 0 / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2603, allocations: 4 kB / 438.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.2603, allocations: 4 kB / 438.2 MB, free: 15.4 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.001569/0.2619, allocations: 0.7737 MB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.2619, allocations: 15.98 kB / 438.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.262, allocations: 90.72 kB / 439 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.2622, allocations: 68.55 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.2628, allocations: 297.5 kB / 439.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.2628, allocations: 37 kB / 439.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/0.2629, allocations: 47.95 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/0.2637, allocations: 422.4 kB / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.2637, allocations: 0 / 439.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.408e-05/0.2637, allocations: 20 kB / 439.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.2637, allocations: 12 kB / 439.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008085/0.2646, allocations: 383.8 kB / 440.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.2671, allocations: 1.235 MB / 441.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008057/0.2679, allocations: 483.9 kB / 442 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006829/0.2686, allocations: 300.3 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.2686, allocations: 12.66 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.2687, allocations: 51.14 kB / 442.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.575e-06/0.2687, allocations: 0 / 442.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.00657/0.2752, allocations: 2.865 MB / 445.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.2753, allocations: 64.41 kB / 445.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.2756, allocations: 292.5 kB / 445.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.2757, allocations: 41.7 kB / 445.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.2759, allocations: 205.6 kB / 445.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.2762, allocations: 380.7 kB / 446.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.2764, allocations: 150.6 kB / 446.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.2766, allocations: 362.8 kB / 446.7 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.277, allocations: 241.9 kB / 446.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004948/0.2775, allocations: 313.4 kB / 447.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009685/0.2785, allocations: 0.5882 MB / 447.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2785, allocations: 0 / 447.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00127/0.2797, allocations: 0.7315 MB / 448.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.2798, allocations: 4 kB / 448.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2798, allocations: 0 / 448.5 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2798, allocations: 4 kB / 448.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.2805, allocations: 203.7 kB / 448.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.2806, allocations: 4 kB / 448.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.2809, allocations: 36.05 kB / 448.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.2809, allocations: 24 kB / 448.8 MB, free: 4.477 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.0002834/0.2812, allocations: 206.2 kB / 449 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2813, allocations: 59.62 kB / 449.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/0.2815, allocations: 77.62 kB / 449.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.2815, allocations: 15.98 kB / 449.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.2815, allocations: 0 / 449.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.2815, allocations: 3.984 kB / 449.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/0.2845, allocations: 1.794 MB / 451 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.2845, allocations: 8.125 kB / 451 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007411/0.2852, allocations: 191.7 kB / 451.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.2852, allocations: 8 kB / 451.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.2853, allocations: 31.98 kB / 451.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.426e-05/0.2853, allocations: 11.94 kB / 451.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.2853, allocations: 4 kB / 451.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.2873, allocations: 1.302 MB / 452.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.2875, allocations: 59.56 kB / 452.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.2876, allocations: 27.98 kB / 452.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.2879, allocations: 31.92 kB / 452.6 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.288, allocations: 80.75 kB / 452.7 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/0.2881, allocations: 43.97 kB / 452.8 MB, free: 352 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.2883, allocations: 195.1 kB / 452.9 MB, free: 160 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2883, allocations: 0 / 452.9 MB, free: 160 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005585/0.2889, allocations: 156 kB / 453.1 MB, free: 4 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.00237/0.2913, allocations: 1.87 MB / 455 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.2924, allocations: 0.6333 MB / 455.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.2924, allocations: 0 / 455.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006339/0.2931, allocations: 389.5 kB / 456 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008796/0.294, allocations: 140.6 kB / 456.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007704/0.3017, allocations: 5.258 MB / 461.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.302, allocations: 284.8 kB / 461.7 MB, free: 7.129 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003658/0.3023, allocations: 81.2 kB / 461.7 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.3027, allocations: 215.4 kB / 461.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3027, allocations: 0 / 461.9 MB, free: 6.836 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/0.3514, allocations: 13.42 MB / 475.4 MB, free: 9.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12, allocations: 7.875 kB / 475.4 MB, free: 9.629 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactA.s_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable innerContactB.s_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactB.s_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable outerContactB.v_rel in file Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable outerContactB.v_rel from file Modelica_trunk_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.558683910872787]