Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001775/0.001775, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002082/0.002082, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.47/1.47, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_4_1_0_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_4_1_0_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 47.94 kB / 373 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1095, allocations: 53.33 MB / 426.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002831/0.1124, allocations: 1.204 MB / 427.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003845/0.1162, allocations: 2.094 MB / 429.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.1162, allocations: 0 / 429.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.1163, allocations: 4 kB / 429.6 MB, free: 1.492 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Utilities/Examples.mo:279:3-378:24:writable] Warning: Pure function 'Modelica.Utilities.Examples.readRealParameter' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001642/0.1179, allocations: 470 kB / 430 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.059e-05/0.1179, allocations: 4 kB / 430 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.084e-05/0.118, allocations: 19.86 kB / 430.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.118, allocations: 0 / 430.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.1181, allocations: 4 kB / 430.1 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1182, allocations: 11.92 kB / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1182, allocations: 0 / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1192, allocations: 0.519 MB / 430.6 MB, free: 488 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.1192, allocations: 0 / 430.6 MB, free: 488 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.1193, allocations: 11.94 kB / 430.6 MB, free: 476 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007297/0.12, allocations: 379.1 kB / 431 MB, free: 96 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.12, allocations: 0 / 431 MB, free: 96 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.12, allocations: 3.938 kB / 431 MB, free: 92 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.12, allocations: 0 / 431 MB, free: 92 kB / 350.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.1912/0.3112, allocations: 426.2 kB / 431.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3112, allocations: 8.281 kB / 431.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.3112, allocations: 106.9 kB / 431.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.3113, allocations: 84.3 kB / 431.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.6e-05/0.3114, allocations: 243.1 kB / 431.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.3114, allocations: 154.1 kB / 432 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.3114, allocations: 154.4 kB / 432.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.464e-05/0.3115, allocations: 103.1 kB / 432.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3115, allocations: 80.62 kB / 432.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.3115, allocations: 152.7 kB / 432.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.3115, allocations: 152.8 kB / 432.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.95e-05/0.3116, allocations: 152.4 kB / 432.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.3117, allocations: 452.8 kB / 433.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.16e-05/0.3118, allocations: 169.5 kB / 433.4 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.3118, allocations: 84.52 kB / 433.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3118, allocations: 77.28 kB / 433.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.3119, allocations: 47.25 kB / 433.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.963e-06/0.3119, allocations: 0.5 kB / 433.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001105/0.312, allocations: 40.16 kB / 433.6 MB, free: 8.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.3121, allocations: 53.88 kB / 433.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/0.3121, allocations: 101.6 kB / 433.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-06/0.3121, allocations: 26.36 kB / 433.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.628e-05/0.3121, allocations: 84.52 kB / 433.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.3122, allocations: 5.469 kB / 433.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.3122, allocations: 11.38 kB / 433.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.576e-05/0.3122, allocations: 313.3 kB / 434.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.3122, allocations: 5.781 kB / 434.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-06/0.3122, allocations: 6.047 kB / 434.2 MB, free: 8.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.89e-05/0.3122, allocations: 14.69 kB / 434.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3122, allocations: 0 / 434.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.567e-05/0.3123, allocations: 34.97 kB / 434.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3123, allocations: 9.25 kB / 434.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3123, allocations: 2.125 kB / 434.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3123, allocations: 1.312 kB / 434.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.708e-05/0.3123, allocations: 2.312 kB / 434.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.3123, allocations: 1.938 kB / 434.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.3124, allocations: 0 / 434.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.3124, allocations: 0 / 434.3 MB, free: 8.016 MB / 350.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 3.97e-05/0.3124, allocations: 108.3 kB / 434.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.3124, allocations: 14.12 kB / 434.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.3124, allocations: 8.969 kB / 434.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3124, allocations: 0.6094 kB / 434.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3124, allocations: 1.219 kB / 434.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.3124, allocations: 0 / 434.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.344e-05/0.3125, allocations: 146.8 kB / 434.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3125, allocations: 2.172 kB / 434.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-06/0.3125, allocations: 0 / 434.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3125, allocations: 6.125 kB / 434.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-06/0.3125, allocations: 0.5625 kB / 434.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3125, allocations: 4.062 kB / 434.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3125, allocations: 0 / 434.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.948e-05/0.3126, allocations: 57.19 kB / 434.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.3126, allocations: 81.66 kB / 434.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3126, allocations: 1.438 kB / 434.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.3126, allocations: 9.156 kB / 434.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.3126, allocations: 4.969 kB / 434.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.3126, allocations: 6.125 kB / 434.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.323e-05/0.3126, allocations: 85 kB / 434.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3126, allocations: 0 / 434.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004832/0.3131, allocations: 148.2 kB / 434.9 MB, free: 7.43 MB / 350.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.001136/0.3143, allocations: 0.9801 MB / 435.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.836e-05/0.3143, allocations: 6.844 kB / 435.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3143, allocations: 4.062 kB / 435.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.472e-06/0.3143, allocations: 2.125 kB / 435.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.3145, allocations: 7.703 kB / 435.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007187/0.3152, allocations: 1.157 MB / 437.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.197e-05/0.3153, allocations: 0.6783 MB / 437.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.3153, allocations: 12.7 kB / 437.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.68e-05/0.3153, allocations: 14.11 kB / 437.8 MB, free: 4.965 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3153, allocations: 4 kB / 437.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.3454, allocations: 4.349 MB / 442.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.649, allocations: 6.062 kB / 442.2 MB, free: 4.293 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.readRealParameterModel.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_4.1.0_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Utilities.Examples.readRealParameterModel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 11.179810751011246]