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.001572/0.001572, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.001874/0.001874, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.512/1.512, allocations: 207.6 MB / 235.3 MB, free: 10 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.001884/0.001884, allocations: 54.89 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.332, allocations: 49.16 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004721/0.3367, allocations: 3.541 MB / 399.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3384, allocations: 0.9224 MB / 400.8 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.3386, allocations: 15.91 kB / 400.8 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.3388, allocations: 79.06 kB / 400.9 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.3391, allocations: 147.6 kB / 401 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.3395, allocations: 156.8 kB / 401.2 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000613/0.3401, allocations: 0.5966 MB / 401.8 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002915/0.3404, allocations: 142.7 kB / 401.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.3407, allocations: 250 kB / 402.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003927/0.3411, allocations: 281.8 kB / 402.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.898e-05/0.3412, allocations: 50.12 kB / 402.5 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3413, allocations: 51.59 kB / 402.6 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3415, allocations: 112.5 kB / 402.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.3417, allocations: 272.4 kB / 402.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008256/0.3425, allocations: 0.6032 MB / 403.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3425, allocations: 0 / 403.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3425, allocations: 0.9688 kB / 403.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.3426, allocations: 0 / 403.5 MB, free: 4.457 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.001595/0.3442, allocations: 0.7787 MB / 404.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3442, allocations: 17.78 kB / 404.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.827e-05/0.3443, allocations: 88.38 kB / 404.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.3444, allocations: 56.33 kB / 404.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.3449, allocations: 268.3 kB / 404.7 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.3449, allocations: 33 kB / 404.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.345, allocations: 54.56 kB / 404.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000988/0.346, allocations: 456.5 kB / 405.3 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/0.346, allocations: 3.312 kB / 405.3 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.321e-05/0.3461, allocations: 15.69 kB / 405.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.3461, allocations: 10.78 kB / 405.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.3471, allocations: 458.8 kB / 405.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.3494, allocations: 1.337 MB / 407.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008779/0.3503, allocations: 0.5081 MB / 407.6 MB, free: 2.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/0.3511, allocations: 345.4 kB / 407.9 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.686e-05/0.3511, allocations: 12.88 kB / 407.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3511, allocations: 38.62 kB / 408 MB, free: 2.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 1.893e-06/0.3511, allocations: 9.312 kB / 408 MB, free: 2.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=103): time 0.006728/0.3579, allocations: 3.016 MB / 411 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.3579, allocations: 62.81 kB / 411.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.3582, allocations: 248.4 kB / 411.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.3582, allocations: 42.17 kB / 411.3 MB, free: 0.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.3583, allocations: 197.9 kB / 411.5 MB, free: 328 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.3585, allocations: 373.5 kB / 411.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.3587, allocations: 144.7 kB / 412 MB, free: 15.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.3589, allocations: 362 kB / 412.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.3595, allocations: 269.7 kB / 412.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.3601, allocations: 355.1 kB / 413 MB, free: 15.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.3613, allocations: 0.6201 MB / 413.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3613, allocations: 0 / 413.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001517/0.3628, allocations: 0.786 MB / 414.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.3629, allocations: 9.781 kB / 414.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3629, allocations: 5.031 kB / 414.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.3629, allocations: 4.562 kB / 414.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007804/0.3637, allocations: 209.1 kB / 414.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.3637, allocations: 4.938 kB / 414.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003335/0.364, allocations: 44.83 kB / 414.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.362e-05/0.3641, allocations: 31.38 kB / 414.7 MB, free: 14.45 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.0002615/0.3643, allocations: 191.7 kB / 414.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.3645, allocations: 54.08 kB / 415 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.3647, allocations: 76.95 kB / 415 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.3647, allocations: 10.53 kB / 415 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.3647, allocations: 0 / 415 MB, free: 14.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.3648, allocations: 7.969 kB / 415 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.3681, allocations: 1.945 MB / 417 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.3681, allocations: 4.25 kB / 417 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.3689, allocations: 205.6 kB / 417.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.3689, allocations: 8.375 kB / 417.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.3689, allocations: 26.53 kB / 417.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/0.3689, allocations: 17.08 kB / 417.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.3689, allocations: 8.875 kB / 417.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.3714, allocations: 1.368 MB / 418.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3715, allocations: 51.06 kB / 418.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.975e-05/0.3716, allocations: 29.47 kB / 418.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.372, allocations: 47.8 kB / 418.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.3721, allocations: 82.69 kB / 418.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.3722, allocations: 35.08 kB / 418.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3723, allocations: 178.2 kB / 419 MB, free: 11.63 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3723, allocations: 0 / 419 MB, free: 11.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005351/0.3729, allocations: 154.7 kB / 419.2 MB, free: 11.6 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.002851/0.3757, allocations: 1.946 MB / 421.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.3772, allocations: 0.6996 MB / 421.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3772, allocations: 0 / 421.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.378, allocations: 414.7 kB / 422.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007635/0.3787, allocations: 118.1 kB / 422.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008548/0.3873, allocations: 5.281 MB / 427.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.388, allocations: 0.8723 MB / 428.5 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003226/0.3883, allocations: 76.97 kB / 428.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.3887, allocations: 195.4 kB / 428.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3887, allocations: 3.938 kB / 428.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05171/0.4404, allocations: 12.31 MB / 441.1 MB, free: 5.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.16, allocations: 11.91 kB / 441.1 MB, free: 5.738 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.725319074001163]