Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001373/0.001373, allocations: 111.1 kB / 20.44 MB, free: 1.344 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.001672/0.001672, allocations: 213.4 kB / 23.73 MB, free: 4.523 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.398/1.398, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 75.88 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2253, allocations: 53.4 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003579/0.2288, allocations: 2.313 MB / 433.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.2299, allocations: 0.5804 MB / 434 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.23, allocations: 4 kB / 434 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.2301, allocations: 43.59 kB / 434.1 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.2303, allocations: 83.27 kB / 434.2 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.2305, allocations: 59.91 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.2308, allocations: 294.6 kB / 434.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.231, allocations: 76.98 kB / 434.6 MB, free: 3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.2311, allocations: 111.7 kB / 434.7 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.2313, allocations: 107.5 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.249e-05/0.2313, allocations: 35.88 kB / 434.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.199e-05/0.2314, allocations: 24 kB / 434.8 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.2314, allocations: 51.84 kB / 434.9 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.2316, allocations: 111.5 kB / 435 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.2319, allocations: 298.8 kB / 435.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2319, allocations: 3.938 kB / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2319, allocations: 0 / 435.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.2319, allocations: 0 / 435.3 MB, free: 2.27 MB / 334.1 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.0007718/0.2327, allocations: 481.7 kB / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2327, allocations: 11.98 kB / 435.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.499e-05/0.2328, allocations: 66.72 kB / 435.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.2329, allocations: 28.75 kB / 435.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.2332, allocations: 182.1 kB / 436.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.2332, allocations: 25.02 kB / 436.1 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.2333, allocations: 27.94 kB / 436.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.2337, allocations: 230 kB / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2338, allocations: 3.953 kB / 436.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.2338, allocations: 19.94 kB / 436.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.2338, allocations: 4 kB / 436.4 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.2342, allocations: 178.5 kB / 436.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.2353, allocations: 0.6402 MB / 437.2 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.2358, allocations: 203.4 kB / 437.4 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.236, allocations: 100.9 kB / 437.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.236, allocations: 4 kB / 437.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.2361, allocations: 38.55 kB / 437.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.2361, allocations: 3.938 kB / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001658/0.2377, allocations: 0.815 MB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.2378, allocations: 55.41 kB / 438.4 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.2379, allocations: 159.8 kB / 438.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2379, allocations: 29.7 kB / 438.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.238, allocations: 144.8 kB / 438.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.2381, allocations: 110.9 kB / 438.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.2382, allocations: 53.7 kB / 438.9 MB, free: 14.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2383, allocations: 330.8 kB / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.2385, allocations: 79.95 kB / 439.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2387, allocations: 116.2 kB / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.2391, allocations: 200.1 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2391, allocations: 3.938 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004973/0.2396, allocations: 265.4 kB / 439.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2396, allocations: 6.188 kB / 439.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2396, allocations: 0 / 439.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2397, allocations: 4 kB / 439.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.2399, allocations: 71.91 kB / 439.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2399, allocations: 7.984 kB / 439.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.2401, allocations: 12 kB / 439.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.2401, allocations: 8 kB / 440 MB, free: 13.36 MB / 350.1 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.0001281/0.2402, allocations: 148 kB / 440.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.2403, allocations: 19.86 kB / 440.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.2403, allocations: 30.64 kB / 440.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2403, allocations: 4 kB / 440.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2403, allocations: 0 / 440.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2403, allocations: 0 / 440.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009579/0.2413, allocations: 0.597 MB / 440.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2413, allocations: 4.062 kB / 440.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.2416, allocations: 75.89 kB / 440.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2416, allocations: 4 kB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2417, allocations: 7.938 kB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.2417, allocations: 7.938 kB / 440.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2417, allocations: 0 / 440.8 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000696/0.2424, allocations: 442.6 kB / 441.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.2424, allocations: 19.89 kB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.2424, allocations: 12 kB / 441.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2426, allocations: 11.98 kB / 441.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.2426, allocations: 19.91 kB / 441.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.2426, allocations: 16.12 kB / 441.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.116e-05/0.2427, allocations: 115.2 kB / 441.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2427, allocations: 0 / 441.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002953/0.243, allocations: 60 kB / 441.5 MB, free: 11.7 MB / 350.1 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.0009799/0.244, allocations: 0.9738 MB / 442.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004358/0.2444, allocations: 191.8 kB / 442.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2444, allocations: 0 / 442.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.2446, allocations: 107.8 kB / 442.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.245, allocations: 50.05 kB / 442.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/0.2485, allocations: 2.656 MB / 445.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2486, allocations: 142.5 kB / 445.6 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.603e-05/0.2487, allocations: 21.94 kB / 445.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.2488, allocations: 75.41 kB / 445.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2488, allocations: 4 kB / 445.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.2822, allocations: 5.21 MB / 450.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.47, allocations: 0 / 450.9 MB, free: 2.242 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv. Warning: Get data of variable springDamper.w_rel from file Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.913975825998932]