Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001229/0.001229, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004955/0.004955, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8332/0.8332, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/2.02e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002873/0.002893, allocations: 2.306 MB / 300.7 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.003877, allocations: 0.5892 MB / 301.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.004021, allocations: 7.938 kB / 301.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.004187, allocations: 47.52 kB / 301.4 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.004343, allocations: 79.27 kB / 301.5 MB, free: 484 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.004531, allocations: 55.92 kB / 301.5 MB, free: 428 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.004823, allocations: 306.4 kB / 301.8 MB, free: 120 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.005004, allocations: 79.05 kB / 301.9 MB, free: 44 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1401/0.1451, allocations: 172.6 kB / 302.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1452, allocations: 84.27 kB / 302.1 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1452, allocations: 25.78 kB / 302.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.055e-05/0.1453, allocations: 24.75 kB / 302.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.1453, allocations: 59.27 kB / 302.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.1454, allocations: 91.56 kB / 302.3 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.1457, allocations: 293.1 kB / 302.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1457, allocations: 0 / 302.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1457, allocations: 2.516 kB / 302.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1457, allocations: 0 / 302.6 MB, free: 13.24 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.0005183/0.1462, allocations: 493.3 kB / 303.1 MB, free: 12.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1463, allocations: 14.42 kB / 303.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1463, allocations: 60.75 kB / 303.2 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.1463, allocations: 26.2 kB / 303.2 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1466, allocations: 181.2 kB / 303.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1466, allocations: 18.97 kB / 303.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1466, allocations: 32.45 kB / 303.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.1469, allocations: 227.5 kB / 303.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.147, allocations: 5.938 kB / 303.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.147, allocations: 10.94 kB / 303.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.147, allocations: 6.344 kB / 303.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002474/0.1472, allocations: 174.5 kB / 303.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.148, allocations: 0.6429 MB / 304.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.1483, allocations: 202.5 kB / 304.7 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.1485, allocations: 106.3 kB / 304.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1485, allocations: 4.359 kB / 304.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.1485, allocations: 42.55 kB / 304.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.223e-06/0.1485, allocations: 3.375 kB / 304.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.001012/0.1495, allocations: 0.804 MB / 305.6 MB, free: 11.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.1495, allocations: 54.84 kB / 305.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.412e-05/0.1496, allocations: 163 kB / 305.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.866e-06/0.1496, allocations: 34.2 kB / 305.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.1497, allocations: 146.9 kB / 306 MB, free: 11.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.1497, allocations: 103.9 kB / 306.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.1498, allocations: 51.17 kB / 306.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.878e-05/0.1498, allocations: 330.7 kB / 306.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.1499, allocations: 75.48 kB / 306.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.15, allocations: 111.6 kB / 306.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.1503, allocations: 202.4 kB / 306.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1503, allocations: 0 / 306.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002737/0.1506, allocations: 266.7 kB / 307.1 MB, free: 10.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1506, allocations: 4.906 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1506, allocations: 3.484 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1506, allocations: 7.156 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.1507, allocations: 75.98 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1507, allocations: 2.344 kB / 307.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.1508, allocations: 14.09 kB / 307.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1508, allocations: 10.72 kB / 307.3 MB, free: 10.83 MB / 282.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 7.44e-05/0.1509, allocations: 136.5 kB / 307.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.1509, allocations: 28.5 kB / 307.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.151, allocations: 26.73 kB / 307.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.151, allocations: 7.188 kB / 307.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.151, allocations: 0 / 307.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.151, allocations: 2.672 kB / 307.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.1515, allocations: 0.6012 MB / 308.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.1515, allocations: 2.312 kB / 308.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1517, allocations: 74.27 kB / 308.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1517, allocations: 1.312 kB / 308.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1517, allocations: 11.27 kB / 308.1 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1517, allocations: 5.594 kB / 308.2 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1517, allocations: 0 / 308.2 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.1521, allocations: 443.8 kB / 308.6 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.1521, allocations: 15.08 kB / 308.6 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1522, allocations: 6.828 kB / 308.6 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1522, allocations: 12.62 kB / 308.6 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.1523, allocations: 28.55 kB / 308.6 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1523, allocations: 5.375 kB / 308.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.1523, allocations: 119 kB / 308.8 MB, free: 9.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1523, allocations: 3.281 kB / 308.8 MB, free: 9.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001918/0.1525, allocations: 58.75 kB / 308.8 MB, free: 9.863 MB / 282.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.000481/0.153, allocations: 0.9688 MB / 309.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.1533, allocations: 199.6 kB / 310 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.1533, allocations: 1.094 kB / 310 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.1534, allocations: 101.4 kB / 310.1 MB, free: 9.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1537, allocations: 42.92 kB / 310.1 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1556, allocations: 2.536 MB / 312.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.351e-05/0.1557, allocations: 143.8 kB / 312.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.531e-05/0.1557, allocations: 19.22 kB / 312.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.891e-05/0.1558, allocations: 76.89 kB / 312.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1558, allocations: 0 / 312.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.1752, allocations: 5.348 MB / 318.3 MB, free: 5.578 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/6.884, allocations: 13.97 kB / 318.3 MB, free: 5.566 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.53269084263593]