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.00492/0.00492, allocations: 114.5 kB / 21.97 MB, free: 5.25 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.001328/0.001328, allocations: 202.5 kB / 25.27 MB, free: 3.238 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.371/1.371, allocations: 207.6 MB / 236 MB, free: 9.977 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="cs",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.001722/0.001722, allocations: 54.59 kB / 347.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2623, allocations: 49.16 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002068/0.2643, allocations: 1.189 MB / 398.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.2678, allocations: 2.123 MB / 400.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.773e-05/0.2679, allocations: 1.094 kB / 400.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.2679, allocations: 0 / 400.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.2693, allocations: 434 kB / 400.8 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.53e-05/0.2693, allocations: 9.312 kB / 400.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.473e-05/0.2694, allocations: 17.12 kB / 400.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.2694, allocations: 2.922 kB / 400.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.2695, allocations: 2.688 kB / 400.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2696, allocations: 9.375 kB / 400.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.2696, allocations: 0 / 400.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007492/0.2704, allocations: 484.2 kB / 401.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.2704, allocations: 1.969 kB / 401.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.899e-05/0.2704, allocations: 1.406 kB / 401.4 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.2709, allocations: 343.4 kB / 401.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2709, allocations: 0 / 401.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2709, allocations: 4.969 kB / 401.7 MB, free: 6.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.2709, allocations: 0 / 401.7 MB, free: 6.234 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.0003306/0.2712, allocations: 337.6 kB / 402 MB, free: 5.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2712, allocations: 12.73 kB / 402 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.197e-05/0.2713, allocations: 77.03 kB / 402.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.171e-05/0.2713, allocations: 114.8 kB / 402.2 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.2713, allocations: 78.41 kB / 402.3 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/0.2714, allocations: 194.1 kB / 402.5 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.2715, allocations: 154.7 kB / 402.6 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.2715, allocations: 152.2 kB / 402.8 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.765e-05/0.2715, allocations: 106.3 kB / 402.9 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2715, allocations: 75.89 kB / 403 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.2716, allocations: 150.6 kB / 403.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.2716, allocations: 154.6 kB / 403.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.2716, allocations: 156.4 kB / 403.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.2717, allocations: 413.8 kB / 403.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.2718, allocations: 183 kB / 404 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.2718, allocations: 85.45 kB / 404.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.2718, allocations: 75.28 kB / 404.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.2719, allocations: 42.86 kB / 404.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.2719, allocations: 0 / 404.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.2721, allocations: 43.95 kB / 404.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.2721, allocations: 53.52 kB / 404.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.2721, allocations: 101.8 kB / 404.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.2721, allocations: 26.31 kB / 404.4 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.2722, allocations: 85.33 kB / 404.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.188e-05/0.2722, allocations: 0.6094 kB / 404.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.2722, allocations: 12.52 kB / 404.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.291e-05/0.2722, allocations: 312.5 kB / 404.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.2723, allocations: 0.9062 kB / 404.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.2723, allocations: 5.672 kB / 404.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.12e-05/0.2723, allocations: 15.69 kB / 404.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2723, allocations: 5 kB / 404.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.541e-05/0.2723, allocations: 36.28 kB / 404.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2723, allocations: 4.281 kB / 404.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2723, allocations: 1.703 kB / 404.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2724, allocations: 0 / 404.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.901e-05/0.2724, allocations: 1.922 kB / 404.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.2724, allocations: 0 / 404.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.503e-05/0.2724, allocations: 4.094 kB / 404.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2724, allocations: 1.984 kB / 404.9 MB, free: 2.945 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 4.657e-05/0.2725, allocations: 111.5 kB / 405 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.2725, allocations: 1.969 kB / 405 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.497e-05/0.2725, allocations: 13.73 kB / 405 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2725, allocations: 0 / 405 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2725, allocations: 192 / 405 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2725, allocations: 1.719 kB / 405 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.234e-05/0.2726, allocations: 130.3 kB / 405.2 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2726, allocations: 4.609 kB / 405.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-06/0.2726, allocations: 0 / 405.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2726, allocations: 1.891 kB / 405.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.2726, allocations: 0 / 405.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2726, allocations: 5.062 kB / 405.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.2726, allocations: 0 / 405.2 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.48e-05/0.2726, allocations: 66.81 kB / 405.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-06/0.2726, allocations: 4.703 kB / 405.2 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.2727, allocations: 5.469 kB / 405.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.2727, allocations: 0.6094 kB / 405.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-06/0.2727, allocations: 1.922 kB / 405.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-06/0.2727, allocations: 0 / 405.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.596e-05/0.2727, allocations: 86.42 kB / 405.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2727, allocations: 0 / 405.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.2731, allocations: 130 kB / 405.5 MB, free: 2.449 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.001167/0.2743, allocations: 0.9689 MB / 406.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.033e-05/0.2743, allocations: 4.406 kB / 406.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2743, allocations: 0 / 406.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.793e-06/0.2743, allocations: 1.953 kB / 406.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.2745, allocations: 6.344 kB / 406.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007372/0.2752, allocations: 1.164 MB / 407.6 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.2754, allocations: 0.6743 MB / 408.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.764e-05/0.2754, allocations: 7.953 kB / 408.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.2754, allocations: 13.56 kB / 408.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2754, allocations: 0 / 408.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.3026, allocations: 4.058 MB / 412.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.71, allocations: 11.97 kB / 412.4 MB, free: 14.55 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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.040513180021662]