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.00131/0.00131, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001433/0.001433, allocations: 210.9 kB / 24.47 MB, free: 3.547 MB / 14.72 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 1.344/1.344, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 55 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2625, allocations: 49.15 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003657/0.2661, allocations: 2.298 MB / 398.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.2671, allocations: 0.6015 MB / 399.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.2672, allocations: 3.938 kB / 399.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.2674, allocations: 37.11 kB / 399.3 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2675, allocations: 89 kB / 399.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.2677, allocations: 60.95 kB / 399.4 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.268, allocations: 300.3 kB / 399.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.2681, allocations: 76.36 kB / 399.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.2683, allocations: 113.8 kB / 399.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.2684, allocations: 111.1 kB / 400 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.2685, allocations: 23.06 kB / 400 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.505e-05/0.2685, allocations: 24.62 kB / 400.1 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.2685, allocations: 51.95 kB / 400.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.2686, allocations: 117.3 kB / 400.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.269, allocations: 293.6 kB / 400.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.269, allocations: 1.375 kB / 400.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.269, allocations: 0 / 400.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.269, allocations: 0 / 400.5 MB, free: 6.305 MB / 318.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.0006939/0.2697, allocations: 482.8 kB / 401 MB, free: 5.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2697, allocations: 13.14 kB / 401 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.2698, allocations: 65.06 kB / 401.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.2699, allocations: 27.64 kB / 401.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.2702, allocations: 180.5 kB / 401.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2702, allocations: 18.59 kB / 401.3 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.2702, allocations: 38.59 kB / 401.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.2707, allocations: 228.4 kB / 401.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.2707, allocations: 1.156 kB / 401.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.2707, allocations: 10.77 kB / 401.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.2707, allocations: 5.969 kB / 401.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003913/0.2711, allocations: 179.3 kB / 401.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.2722, allocations: 0.6404 MB / 402.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.2726, allocations: 208.8 kB / 402.6 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.2728, allocations: 107.5 kB / 402.7 MB, free: 4.922 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.2729, allocations: 6.094 kB / 402.7 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2729, allocations: 41.16 kB / 402.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=26): time 1.784e-06/0.2729, allocations: 0 / 402.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.001539/0.2744, allocations: 0.8038 MB / 403.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2744, allocations: 59.19 kB / 403.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2746, allocations: 153.6 kB / 403.7 MB, free: 4.203 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2746, allocations: 31.11 kB / 403.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.2747, allocations: 156.1 kB / 403.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.2747, allocations: 99.16 kB / 404 MB, free: 3.953 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.2748, allocations: 55.89 kB / 404.1 MB, free: 3.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.2748, allocations: 333.8 kB / 404.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.275, allocations: 79.97 kB / 404.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.2752, allocations: 115.2 kB / 404.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.2755, allocations: 197 kB / 404.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2755, allocations: 1.094 kB / 404.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004233/0.276, allocations: 269.9 kB / 405 MB, free: 3.277 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.276, allocations: 9.969 kB / 405.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.276, allocations: 1.438 kB / 405.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.276, allocations: 1.531 kB / 405.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.2763, allocations: 75.31 kB / 405.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2763, allocations: 5.734 kB / 405.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.2764, allocations: 11.94 kB / 405.2 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.2764, allocations: 6.875 kB / 405.2 MB, free: 3.262 MB / 318.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.0001232/0.2766, allocations: 144.7 kB / 405.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.2766, allocations: 17.53 kB / 405.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.733e-05/0.2767, allocations: 33.11 kB / 405.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2767, allocations: 2.75 kB / 405.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.2767, allocations: 1.375 kB / 405.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2767, allocations: 0 / 405.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2777, allocations: 0.6077 MB / 406 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2777, allocations: 0 / 406 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.278, allocations: 72.05 kB / 406 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.278, allocations: 5.094 kB / 406 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.278, allocations: 15.89 kB / 406.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.278, allocations: 1.969 kB / 406.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.278, allocations: 1.031 kB / 406.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006854/0.2787, allocations: 441 kB / 406.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.2788, allocations: 18.44 kB / 406.5 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.2788, allocations: 11.09 kB / 406.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.2789, allocations: 16.2 kB / 406.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.279, allocations: 23.3 kB / 406.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.279, allocations: 7.062 kB / 406.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.576e-05/0.2791, allocations: 121.7 kB / 406.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2791, allocations: 0 / 406.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003226/0.2794, allocations: 58.72 kB / 406.7 MB, free: 2.258 MB / 318.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.0007551/0.2802, allocations: 0.9818 MB / 407.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.2806, allocations: 195.9 kB / 407.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2806, allocations: 0 / 407.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.2808, allocations: 103.2 kB / 408 MB, free: 1.367 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.2812, allocations: 51.31 kB / 408.1 MB, free: 1.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.2845, allocations: 2.645 MB / 410.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.2846, allocations: 144.1 kB / 410.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.2848, allocations: 18.2 kB / 410.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.2849, allocations: 74.52 kB / 410.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2849, allocations: 0 / 410.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.3213, allocations: 5.21 MB / 416.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.8, allocations: 5.219 kB / 416.2 MB, free: 12.66 MB / 334.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/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: 14.238089323043823]