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.001812/0.001812, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002245/0.002245, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.506/1.506, allocations: 230.4 MB / 254 MB, free: 15 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.00199/0.00199, allocations: 63.91 kB / 373 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1198, allocations: 53.37 MB / 426.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.005465/0.1252, allocations: 3.674 MB / 430 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2501/0.3754, allocations: 0.955 MB / 431 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005902/0.376, allocations: 15.22 kB / 431 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004129/0.3764, allocations: 84.8 kB / 431.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006555/0.377, allocations: 167.3 kB / 431.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.3777, allocations: 161.4 kB / 431.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009865/0.3787, allocations: 0.6227 MB / 432 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.379, allocations: 141.4 kB / 432.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.3796, allocations: 266 kB / 432.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004734/0.3801, allocations: 287.4 kB / 432.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.3802, allocations: 50.53 kB / 432.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.3804, allocations: 57.25 kB / 432.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.3805, allocations: 123.1 kB / 432.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.3809, allocations: 284.1 kB / 433.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007938/0.3817, allocations: 0.6231 MB / 433.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3817, allocations: 3.5 kB / 433.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3817, allocations: 0.875 kB / 433.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.99e-05/0.3817, allocations: 1.094 kB / 433.8 MB, free: 7.211 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.001844/0.3836, allocations: 0.8541 MB / 434.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.3836, allocations: 10.22 kB / 434.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.3837, allocations: 85.14 kB / 434.8 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.384, allocations: 71.48 kB / 434.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.3845, allocations: 352.9 kB / 435.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.3846, allocations: 38.03 kB / 435.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.954e-05/0.3847, allocations: 56.23 kB / 435.3 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008777/0.3855, allocations: 419 kB / 435.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.3856, allocations: 2.656 kB / 435.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.494e-05/0.3856, allocations: 19.48 kB / 435.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.3856, allocations: 12.72 kB / 435.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.3864, allocations: 395.5 kB / 436.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.3888, allocations: 1.381 MB / 437.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007544/0.3895, allocations: 481.8 kB / 438 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000654/0.3902, allocations: 311 kB / 438.3 MB, free: 5.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.074e-05/0.3902, allocations: 15.61 kB / 438.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.3903, allocations: 38.52 kB / 438.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.215e-06/0.3903, allocations: 0 / 438.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006631/0.3969, allocations: 3.02 MB / 441.3 MB, free: 3.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.3969, allocations: 63.5 kB / 441.4 MB, free: 3.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.3972, allocations: 275.8 kB / 441.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.3973, allocations: 41.45 kB / 441.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3974, allocations: 211.6 kB / 441.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.3976, allocations: 384.2 kB / 442.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.3978, allocations: 150.9 kB / 442.4 MB, free: 3.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.3979, allocations: 366.1 kB / 442.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.3983, allocations: 238.3 kB / 443 MB, free: 2.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/0.3988, allocations: 323.5 kB / 443.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008963/0.3996, allocations: 0.5736 MB / 443.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3997, allocations: 0 / 443.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001163/0.4008, allocations: 0.7406 MB / 444.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.4008, allocations: 6.875 kB / 444.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4008, allocations: 2.672 kB / 444.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.4009, allocations: 4.594 kB / 444.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007762/0.4016, allocations: 203.4 kB / 444.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.4017, allocations: 4.625 kB / 444.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.402, allocations: 31.34 kB / 444.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.107e-05/0.4021, allocations: 30.19 kB / 444.9 MB, free: 1.836 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.0002613/0.4023, allocations: 194.1 kB / 445.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4025, allocations: 60.11 kB / 445.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.4026, allocations: 77.25 kB / 445.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.4027, allocations: 10.5 kB / 445.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.39e-05/0.4027, allocations: 5.906 kB / 445.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.4027, allocations: 6.422 kB / 445.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.4058, allocations: 1.936 MB / 447.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.4058, allocations: 5.328 kB / 447.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007782/0.4065, allocations: 197.5 kB / 447.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/0.4066, allocations: 9.031 kB / 447.4 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.4066, allocations: 24.58 kB / 447.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.37e-05/0.4066, allocations: 14.47 kB / 447.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4066, allocations: 5.312 kB / 447.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.4085, allocations: 1.295 MB / 448.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.4087, allocations: 139.9 kB / 448.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.4088, allocations: 23.3 kB / 448.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.4091, allocations: 34.44 kB / 449 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.4093, allocations: 80.12 kB / 449 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.4093, allocations: 35.06 kB / 449.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.4096, allocations: 197 kB / 449.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4096, allocations: 0 / 449.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006768/0.4103, allocations: 158.7 kB / 449.4 MB, free: 15.39 MB / 366.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.002413/0.4127, allocations: 1.858 MB / 451.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.414, allocations: 0.6384 MB / 451.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.414, allocations: 1.594 kB / 451.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006995/0.4147, allocations: 386.2 kB / 452.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009075/0.4156, allocations: 135.2 kB / 452.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.424, allocations: 5.256 MB / 457.7 MB, free: 10.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.4246, allocations: 0.883 MB / 458.6 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003757/0.425, allocations: 84.33 kB / 458.6 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003587/0.4253, allocations: 214.5 kB / 458.8 MB, free: 9.637 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4253, allocations: 3.938 kB / 458.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04153/0.4668, allocations: 12.39 MB / 471.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.811/9.278, allocations: 10.23 kB / 471.3 MB, free: 2.012 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.965827082982287]