Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008487/0.0008487, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8799/0.8799, allocations: 173.4 MB / 200.4 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 318.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.901e-05, allocations: 2.281 kB / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002483/0.002502, allocations: 2.286 MB / 320.7 MB, free: 4.082 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007932/0.003295, allocations: 0.5608 MB / 321.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.003402, allocations: 7.938 kB / 321.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.003525, allocations: 39.59 kB / 321.3 MB, free: 3.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.00365, allocations: 91.14 kB / 321.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.003793, allocations: 59.91 kB / 321.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.004017, allocations: 310.4 kB / 321.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.004167, allocations: 79.33 kB / 321.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.004316, allocations: 171.7 kB / 322 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.436e-05/0.004411, allocations: 83.77 kB / 322.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.004445, allocations: 24 kB / 322.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.493e-05/0.00447, allocations: 24 kB / 322.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.004505, allocations: 59.75 kB / 322.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.578e-05/0.004571, allocations: 91.83 kB / 322.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.004808, allocations: 306.9 kB / 322.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.00481, allocations: 0 / 322.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.004811, allocations: 0 / 322.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.004816, allocations: 0 / 322.6 MB, free: 2.191 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005265/0.005343, allocations: 473.1 kB / 323 MB, free: 1.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.005382, allocations: 16.92 kB / 323.1 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.801e-05/0.00543, allocations: 58.73 kB / 323.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.00547, allocations: 36.73 kB / 323.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.005693, allocations: 185.1 kB / 323.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.005711, allocations: 21.03 kB / 323.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.005747, allocations: 24.38 kB / 323.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.006058, allocations: 234.4 kB / 323.6 MB, free: 1.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.006073, allocations: 3.953 kB / 323.6 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.006091, allocations: 12 kB / 323.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.006098, allocations: 12 kB / 323.6 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002515/0.006349, allocations: 174.5 kB / 323.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.007119, allocations: 0.6362 MB / 324.4 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.007469, allocations: 202.5 kB / 324.6 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.007613, allocations: 104.8 kB / 324.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.007627, allocations: 7.938 kB / 324.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.007647, allocations: 34.5 kB / 324.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.053e-06/0.007649, allocations: 0 / 324.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.00111/0.00876, allocations: 0.8159 MB / 325.6 MB, free: 14.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.008792, allocations: 59.41 kB / 325.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.008904, allocations: 158.5 kB / 325.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.008919, allocations: 29.7 kB / 325.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.008984, allocations: 148.7 kB / 326 MB, free: 14.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.74e-05/0.009051, allocations: 111.1 kB / 326.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.009109, allocations: 45.7 kB / 326.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.009185, allocations: 334.8 kB / 326.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.009329, allocations: 75.95 kB / 326.5 MB, free: 14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.009453, allocations: 119.2 kB / 326.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.009688, allocations: 199.3 kB / 326.9 MB, free: 13.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.009691, allocations: 7.938 kB / 326.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002865/0.009978, allocations: 253.6 kB / 327.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.009991, allocations: 8 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.009997, allocations: 0 / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01001, allocations: 4 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.01019, allocations: 75.89 kB / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.01019, allocations: 0 / 327.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.01026, allocations: 15.98 kB / 327.2 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.01027, allocations: 8 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001617/0.01043, allocations: 145.7 kB / 327.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.01046, allocations: 23.86 kB / 327.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.0105, allocations: 30.64 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01051, allocations: 4 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01051, allocations: 0 / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.01051, allocations: 0 / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/0.01115, allocations: 0.5992 MB / 328 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01116, allocations: 0 / 328 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.01134, allocations: 75.97 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01135, allocations: 4 kB / 328.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.01136, allocations: 11.98 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01136, allocations: 7.938 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01136, allocations: 0 / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.0118, allocations: 443.3 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.01182, allocations: 15.97 kB / 328.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01184, allocations: 7.984 kB / 328.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.01191, allocations: 16 kB / 328.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.01196, allocations: 19.91 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01197, allocations: 11.98 kB / 328.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.2e-05/0.01203, allocations: 120.6 kB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01203, allocations: 0 / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.01224, allocations: 60 kB / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0007286/0.01296, allocations: 0.9644 MB / 329.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.01324, allocations: 192.3 kB / 329.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01325, allocations: 4 kB / 329.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.01336, allocations: 107.7 kB / 330.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.01367, allocations: 48.2 kB / 330.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.01581, allocations: 2.535 MB / 332.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.01616, allocations: 142.5 kB / 332.8 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.01623, allocations: 17.95 kB / 332.8 MB, free: 7.457 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.993e-05/0.01632, allocations: 76.47 kB / 332.9 MB, free: 7.383 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01632, allocations: 3.938 kB / 332.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.03879, allocations: 5.347 MB / 338.2 MB, free: 2.188 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/6.94, allocations: 9.875 kB / 338.2 MB, free: 2.184 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable springDamper.w_rel in file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.665595972910523]