Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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.001788/0.001788, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002036/0.002036, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.523/1.523, allocations: 207.6 MB / 235.3 MB, free: 10 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.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",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.001853/0.001853, allocations: 55.92 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2808, allocations: 49.16 MB / 396.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002545/0.2833, allocations: 1.192 MB / 397.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.2866, allocations: 2.121 MB / 399.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.454e-05/0.2866, allocations: 0 / 399.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.2866, allocations: 3.938 kB / 399.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.2882, allocations: 433.5 kB / 400.1 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.825e-05/0.2882, allocations: 5.828 kB / 400.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.593e-05/0.2883, allocations: 8.797 kB / 400.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.2884, allocations: 2.469 kB / 400.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.2884, allocations: 2.406 kB / 400.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.2887, allocations: 18.8 kB / 400.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.2887, allocations: 0 / 400.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.2897, allocations: 484.3 kB / 400.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.2897, allocations: 4.5 kB / 400.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.2898, allocations: 6.953 kB / 400.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008151/0.2906, allocations: 339.2 kB / 400.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2906, allocations: 0 / 400.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2906, allocations: 1.281 kB / 400.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.2906, allocations: 0 / 400.9 MB, free: 6.25 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005285/0.2911, allocations: 337.3 kB / 401.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.2912, allocations: 12.52 kB / 401.3 MB, free: 5.93 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.2912, allocations: 112.1 kB / 401.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.274e-05/0.2913, allocations: 76.22 kB / 401.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2914, allocations: 188.5 kB / 401.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.2914, allocations: 150.9 kB / 401.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.2914, allocations: 164.6 kB / 401.9 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.063e-05/0.2915, allocations: 101 kB / 402 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.2915, allocations: 79.28 kB / 402.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.2915, allocations: 152.6 kB / 402.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.2915, allocations: 150.6 kB / 402.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.2916, allocations: 152.2 kB / 402.6 MB, free: 4.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001937/0.2917, allocations: 418.6 kB / 403 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.693e-05/0.2918, allocations: 177 kB / 403.1 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.2918, allocations: 86.22 kB / 403.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2918, allocations: 75.28 kB / 403.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.292, allocations: 49.95 kB / 403.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.805e-06/0.292, allocations: 5.438 kB / 403.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.2921, allocations: 38.89 kB / 403.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2921, allocations: 53.27 kB / 403.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.393e-05/0.2922, allocations: 105.5 kB / 403.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.2922, allocations: 27.69 kB / 403.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.2922, allocations: 80.75 kB / 403.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.2923, allocations: 1.5 kB / 403.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.45e-05/0.2923, allocations: 11.58 kB / 403.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.2923, allocations: 321.6 kB / 404 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-06/0.2923, allocations: 0 / 404 MB, free: 3.094 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.2923, allocations: 1.312 kB / 404 MB, free: 3.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.128e-05/0.2924, allocations: 11.33 kB / 404 MB, free: 3.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2924, allocations: 5.406 kB / 404 MB, free: 3.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.27e-05/0.2924, allocations: 31.58 kB / 404 MB, free: 3.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2924, allocations: 9.25 kB / 404 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2924, allocations: 1.812 kB / 404 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2924, allocations: 4.094 kB / 404 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.211e-05/0.2925, allocations: 1.031 kB / 404 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2925, allocations: 0.6094 kB / 404 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.2925, allocations: 3.938 kB / 404 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.2925, allocations: 1 kB / 404 MB, free: 3.035 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.017e-05/0.2925, allocations: 116.4 kB / 404.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.2926, allocations: 1.531 kB / 404.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.2926, allocations: 9.047 kB / 404.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2926, allocations: 1.922 kB / 404.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2926, allocations: 4 kB / 404.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2926, allocations: 0 / 404.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.009e-05/0.2927, allocations: 126.9 kB / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2927, allocations: 1.125 kB / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-06/0.2927, allocations: 0.5156 kB / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.2927, allocations: 1.156 kB / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2927, allocations: 4.547 kB / 404.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2927, allocations: 0 / 404.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2927, allocations: 1.094 kB / 404.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.255e-05/0.2928, allocations: 61.36 kB / 404.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.2928, allocations: 9.906 kB / 404.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.2928, allocations: 1.688 kB / 404.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.2928, allocations: 1.125 kB / 404.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.2928, allocations: 0.6094 kB / 404.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.2928, allocations: 0.9062 kB / 404.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.837e-05/0.2928, allocations: 81.8 kB / 404.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2928, allocations: 0 / 404.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000583/0.2934, allocations: 133.7 kB / 404.6 MB, free: 2.547 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001431/0.2949, allocations: 0.9752 MB / 405.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.081e-05/0.2949, allocations: 4.297 kB / 405.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2949, allocations: 5.25 kB / 405.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.172e-06/0.295, allocations: 1.125 kB / 405.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.2951, allocations: 6.984 kB / 405.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.296, allocations: 1.15 MB / 406.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.2961, allocations: 0.6738 MB / 407.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.165e-05/0.2961, allocations: 8 kB / 407.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.2962, allocations: 18.44 kB / 407.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2962, allocations: 4 kB / 407.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/0.3319, allocations: 4.031 MB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.25, allocations: 13.31 kB / 411.5 MB, free: 14.65 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.901222298998618]