Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001003/0.001003, allocations: 79.69 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.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.001374/0.001374, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8664/0.8664, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 324.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.251e-05, allocations: 2.281 kB / 324.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002564/0.002586, allocations: 2.324 MB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008566/0.003443, allocations: 0.596 MB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.003562, allocations: 8 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.003687, allocations: 35.59 kB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.003818, allocations: 87.2 kB / 327.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.003964, allocations: 59.91 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002359/0.0042, allocations: 310.5 kB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.004351, allocations: 79.83 kB / 328 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.004513, allocations: 167.6 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.54e-05/0.004609, allocations: 91.7 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.004641, allocations: 24 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.521e-05/0.004667, allocations: 24 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.004703, allocations: 59.75 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.004766, allocations: 91.81 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.005003, allocations: 299 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.005005, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005006, allocations: 4 kB / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005011, allocations: 0 / 328.8 MB, free: 11.58 MB / 298.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.0005312/0.005542, allocations: 477.7 kB / 329.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.005578, allocations: 8.031 kB / 329.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.005625, allocations: 66.72 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.005664, allocations: 32.75 kB / 329.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.005895, allocations: 178 kB / 329.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.005911, allocations: 25.03 kB / 329.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.005946, allocations: 24.38 kB / 329.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.006249, allocations: 234.3 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.006264, allocations: 3.953 kB / 329.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.006283, allocations: 15.98 kB / 329.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.006289, allocations: 4 kB / 329.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.006524, allocations: 170.5 kB / 330 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.007285, allocations: 0.6447 MB / 330.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.007611, allocations: 190.6 kB / 330.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.007735, allocations: 108.8 kB / 330.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.007748, allocations: 3.938 kB / 330.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.007768, allocations: 46.44 kB / 331 MB, free: 9.246 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.00777, allocations: 0 / 331 MB, free: 9.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.00105/0.00882, allocations: 0.8181 MB / 331.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.008858, allocations: 59.34 kB / 331.9 MB, free: 8.305 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.772e-05/0.008956, allocations: 158.6 kB / 332 MB, free: 8.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.008969, allocations: 25.7 kB / 332 MB, free: 8.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.00903, allocations: 144.8 kB / 332.2 MB, free: 7.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.009088, allocations: 111 kB / 332.3 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.763e-05/0.009146, allocations: 53.7 kB / 332.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.009227, allocations: 330.8 kB / 332.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.009336, allocations: 71.83 kB / 332.7 MB, free: 7.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.009462, allocations: 119.9 kB / 332.8 MB, free: 7.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.009687, allocations: 199.4 kB / 333 MB, free: 7.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.00969, allocations: 3.938 kB / 333 MB, free: 7.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002809/0.009971, allocations: 257.4 kB / 333.3 MB, free: 6.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.009985, allocations: 8 kB / 333.3 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.00999, allocations: 0 / 333.3 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.01, allocations: 4 kB / 333.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.01016, allocations: 76 kB / 333.4 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.01017, allocations: 11.97 kB / 333.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/0.01023, allocations: 8 kB / 333.4 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.01024, allocations: 12 kB / 333.4 MB, free: 6.676 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 8.316e-05/0.01033, allocations: 141.7 kB / 333.6 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.01035, allocations: 23.84 kB / 333.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.01039, allocations: 26.66 kB / 333.6 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.01039, allocations: 4 kB / 333.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.01039, allocations: 0 / 333.6 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.0104, allocations: 4 kB / 333.6 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.011, allocations: 0.5971 MB / 334.2 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.011, allocations: 0 / 334.2 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.01117, allocations: 71.89 kB / 334.3 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01117, allocations: 4 kB / 334.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.01119, allocations: 7.984 kB / 334.3 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/0.01121, allocations: 8 kB / 334.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01121, allocations: 4.062 kB / 334.3 MB, free: 5.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.0118, allocations: 447.3 kB / 334.7 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.01182, allocations: 11.91 kB / 334.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01184, allocations: 8.062 kB / 334.8 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.01192, allocations: 11.98 kB / 334.8 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.01197, allocations: 31.78 kB / 334.8 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.01197, allocations: 4 kB / 334.8 MB, free: 5.199 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.01204, allocations: 132.6 kB / 334.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01204, allocations: 0 / 334.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.01225, allocations: 60 kB / 335 MB, free: 5.012 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.0006258/0.01287, allocations: 0.9644 MB / 336 MB, free: 4.012 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003511/0.01322, allocations: 191.9 kB / 336.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01323, allocations: 0 / 336.1 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.01337, allocations: 104.9 kB / 336.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.01365, allocations: 51.8 kB / 336.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.01581, allocations: 2.525 MB / 338.8 MB, free: 1.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.151e-05/0.0159, allocations: 142.4 kB / 339 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.845e-05/0.01596, allocations: 29.92 kB / 339 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.01605, allocations: 76.47 kB / 339.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01605, allocations: 0 / 339.1 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.03848, allocations: 5.365 MB / 344.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/6.897, allocations: 10.39 kB / 344.4 MB, free: 11.55 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.634894862771034]