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.001311/0.001311, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001501/0.001501, allocations: 216.6 kB / 23.73 MB, free: 4.156 MB / 14.72 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 1.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00154/0.00154, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2305, allocations: 53.36 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003831/0.2343, allocations: 2.322 MB / 433.4 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.2354, allocations: 0.5882 MB / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.2355, allocations: 7.938 kB / 434 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.2357, allocations: 35.64 kB / 434 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.2359, allocations: 83.27 kB / 434.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.236, allocations: 55.92 kB / 434.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.2364, allocations: 302.6 kB / 434.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.2365, allocations: 77.66 kB / 434.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.2367, allocations: 115.6 kB / 434.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.2369, allocations: 103.5 kB / 434.7 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/0.2369, allocations: 24 kB / 434.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.2369, allocations: 24 kB / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.237, allocations: 59.75 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.2371, allocations: 107.5 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.2375, allocations: 298.8 kB / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2375, allocations: 0 / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2375, allocations: 0 / 435.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2375, allocations: 7.938 kB / 435.2 MB, free: 2.457 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.0008411/0.2383, allocations: 477.7 kB / 435.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.2384, allocations: 8.031 kB / 435.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.37e-05/0.2385, allocations: 62.72 kB / 435.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.2385, allocations: 32.75 kB / 435.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.2389, allocations: 176.8 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.2389, allocations: 28.97 kB / 436 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.239, allocations: 27.94 kB / 436 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.2394, allocations: 226.1 kB / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.2395, allocations: 7.938 kB / 436.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.2395, allocations: 12 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2395, allocations: 4 kB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.2399, allocations: 174.5 kB / 436.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.2411, allocations: 0.648 MB / 437.1 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.2416, allocations: 198.5 kB / 437.3 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.2419, allocations: 112.7 kB / 437.4 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2419, allocations: 3.938 kB / 437.4 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2419, allocations: 34.56 kB / 437.4 MB, free: 128 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.342e-06/0.2419, allocations: 0 / 437.4 MB, free: 128 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001717/0.2436, allocations: 0.8177 MB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2437, allocations: 55.41 kB / 438.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2438, allocations: 155.8 kB / 438.5 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.2438, allocations: 29.7 kB / 438.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.2439, allocations: 140.8 kB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.244, allocations: 119 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.2441, allocations: 53.64 kB / 438.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.2443, allocations: 334.8 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.2444, allocations: 75.95 kB / 439.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.2447, allocations: 111.4 kB / 439.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.2451, allocations: 207.3 kB / 439.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2451, allocations: 0 / 439.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004986/0.2456, allocations: 257.5 kB / 439.8 MB, free: 13.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2456, allocations: 4 kB / 439.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2456, allocations: 3.938 kB / 439.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.2456, allocations: 4 kB / 439.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.2459, allocations: 75.89 kB / 439.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.2459, allocations: 8.094 kB / 439.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.246, allocations: 15.98 kB / 439.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.246, allocations: 4 kB / 439.9 MB, free: 13.55 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.0001388/0.2462, allocations: 141.7 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.2462, allocations: 19.86 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.318e-05/0.2463, allocations: 26.66 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.2463, allocations: 8 kB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2463, allocations: 0 / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2463, allocations: 3.984 kB / 440.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.2474, allocations: 0.5972 MB / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2474, allocations: 0 / 440.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.2477, allocations: 75.89 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.2477, allocations: 4 kB / 440.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.2477, allocations: 7.938 kB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2477, allocations: 4 kB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2477, allocations: 0 / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.2485, allocations: 455.5 kB / 441.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.2485, allocations: 11.91 kB / 441.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.2486, allocations: 12 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.2487, allocations: 11.98 kB / 441.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.2488, allocations: 19.97 kB / 441.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2488, allocations: 11.94 kB / 441.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.2489, allocations: 115.2 kB / 441.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2489, allocations: 4 kB / 441.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.2492, allocations: 60 kB / 441.5 MB, free: 11.9 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.001055/0.2503, allocations: 0.9683 MB / 442.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.2508, allocations: 189.4 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2508, allocations: 4.062 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.251, allocations: 107.8 kB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.2514, allocations: 57.94 kB / 442.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003686/0.2551, allocations: 2.656 MB / 445.4 MB, free: 7.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.2552, allocations: 150.5 kB / 445.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.609e-05/0.2553, allocations: 21.94 kB / 445.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.2555, allocations: 79.41 kB / 445.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2555, allocations: 0 / 445.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03345/0.2889, allocations: 5.207 MB / 450.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.47, allocations: 6.234 kB / 450.9 MB, free: 2.457 MB / 350.1 MB " [Timeout remaining time 648] (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/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_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: 13.897506196983159]