Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001399/0.001399, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002005/0.002005, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.PreLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 54.58 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2652, allocations: 49.15 MB / 396.3 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004218/0.2695, allocations: 3.208 MB / 399.5 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.2712, allocations: 0.8821 MB / 400.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002591/0.2715, allocations: 17.03 kB / 400.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.2717, allocations: 72.98 kB / 400.5 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.272, allocations: 152 kB / 400.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.2725, allocations: 166.2 kB / 400.8 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006195/0.2731, allocations: 0.597 MB / 401.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.2734, allocations: 133.6 kB / 401.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.2737, allocations: 243.1 kB / 401.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.2741, allocations: 241.8 kB / 402 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/0.2742, allocations: 50.62 kB / 402.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.2743, allocations: 51.03 kB / 402.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.2744, allocations: 120.2 kB / 402.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.2746, allocations: 230.1 kB / 402.5 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006727/0.2753, allocations: 0.605 MB / 403.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2753, allocations: 1.094 kB / 403.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2753, allocations: 0 / 403.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.2753, allocations: 0 / 403.1 MB, free: 4.812 MB / 318.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.001726/0.2771, allocations: 0.7866 MB / 403.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.2771, allocations: 13.36 kB / 403.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.2772, allocations: 87.89 kB / 404 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.2774, allocations: 61.86 kB / 404 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.2778, allocations: 267.2 kB / 404.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.2779, allocations: 32.56 kB / 404.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.2779, allocations: 51.52 kB / 404.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.279, allocations: 460.9 kB / 404.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.279, allocations: 1.891 kB / 404.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.279, allocations: 16.53 kB / 404.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2791, allocations: 10.09 kB / 404.8 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2801, allocations: 454 kB / 405.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.2826, allocations: 1.233 MB / 406.5 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009415/0.2836, allocations: 0.5019 MB / 407 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000798/0.2844, allocations: 348.1 kB / 407.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/0.2844, allocations: 10.08 kB / 407.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.2844, allocations: 48.14 kB / 407.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 1.974e-06/0.2844, allocations: 0 / 407.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.007186/0.2916, allocations: 3.013 MB / 410.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.2917, allocations: 62.53 kB / 410.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.2919, allocations: 248.6 kB / 410.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.292, allocations: 41.23 kB / 410.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2921, allocations: 199.2 kB / 411 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/0.2922, allocations: 366.6 kB / 411.3 MB, free: 428 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.2924, allocations: 144.2 kB / 411.5 MB, free: 336 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2925, allocations: 358 kB / 411.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.2931, allocations: 278.9 kB / 412.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/0.2938, allocations: 351.6 kB / 412.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.2951, allocations: 0.6197 MB / 413.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2951, allocations: 2.188 kB / 413.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001595/0.2967, allocations: 0.7883 MB / 413.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2967, allocations: 5.469 kB / 413.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.2967, allocations: 5.031 kB / 413.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.2967, allocations: 4.438 kB / 413.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007924/0.2975, allocations: 205.4 kB / 414.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2975, allocations: 5.312 kB / 414.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.298, allocations: 48.44 kB / 414.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.298, allocations: 32.27 kB / 414.1 MB, free: 14.88 MB / 334.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.0003306/0.2984, allocations: 191 kB / 414.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.2985, allocations: 55.55 kB / 414.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.2987, allocations: 76.3 kB / 414.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.2987, allocations: 13.25 kB / 414.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/0.2987, allocations: 1.188 kB / 414.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.2987, allocations: 7.969 kB / 414.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.3023, allocations: 1.838 MB / 416.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.3023, allocations: 4.25 kB / 416.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.3032, allocations: 206 kB / 416.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.259e-05/0.3032, allocations: 13.03 kB / 416.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/0.3032, allocations: 29.64 kB / 416.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/0.3033, allocations: 8.469 kB / 416.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.3033, allocations: 10.78 kB / 416.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.3058, allocations: 1.371 MB / 418 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.306, allocations: 47.14 kB / 418 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.02e-05/0.3061, allocations: 33.39 kB / 418 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.3065, allocations: 51.48 kB / 418.1 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.3067, allocations: 81.03 kB / 418.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/0.3068, allocations: 35.58 kB / 418.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002296/0.307, allocations: 181.3 kB / 418.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.307, allocations: 0 / 418.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006197/0.3076, allocations: 155.7 kB / 418.5 MB, free: 12.12 MB / 334.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.003024/0.3107, allocations: 1.941 MB / 420.5 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001556/0.3122, allocations: 0.6996 MB / 421.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.3122, allocations: 0 / 421.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007984/0.313, allocations: 417.8 kB / 421.6 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.3139, allocations: 129.6 kB / 421.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008474/0.3224, allocations: 5.269 MB / 427 MB, free: 3.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3227, allocations: 268.5 kB / 427.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003653/0.3231, allocations: 80.97 kB / 427.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.3234, allocations: 195.4 kB / 427.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3234, allocations: 0 / 427.5 MB, free: 3.168 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04549/0.3689, allocations: 12.62 MB / 440.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.84, allocations: 4.062 kB / 440.1 MB, free: 6.469 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_PreLoad.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactA.s_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable innerContactB.s_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable innerContactB.s_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! Error: Could not read variable outerContactB.v_rel in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv. Warning: Get data of variable outerContactB.v_rel from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.440912483260036]