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.0008943/0.0008943, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 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.004169/0.004169, allocations: 164 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8275/0.8275, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 298.4 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.617e-05, allocations: 2.281 kB / 298.4 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001479/0.001495, allocations: 1.186 MB / 299.6 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002052/0.003547, allocations: 2.031 MB / 301.6 MB, free: 324 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.00357, allocations: 0 / 301.6 MB, free: 324 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.003589, allocations: 4 kB / 301.6 MB, free: 320 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1165/0.1201, allocations: 432.1 kB / 302 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.896e-05/0.1202, allocations: 4.656 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.1202, allocations: 18.58 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.1203, allocations: 2.266 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.236e-05/0.1203, allocations: 5.609 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.1204, allocations: 3.438 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1204, allocations: 1.5 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006431/0.121, allocations: 446.2 kB / 302.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.121, allocations: 2.578 kB / 302.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.012e-05/0.121, allocations: 6.141 kB / 302.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004511/0.1215, allocations: 416.1 kB / 302.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1215, allocations: 1.531 kB / 302.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1215, allocations: 0 / 302.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1215, allocations: 4.438 kB / 302.9 MB, free: 13.29 MB / 282.7 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.0003146/0.1218, allocations: 336.6 kB / 303.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1219, allocations: 14.14 kB / 303.3 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.1219, allocations: 108.8 kB / 303.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.1219, allocations: 79.22 kB / 303.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.122, allocations: 187.3 kB / 303.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.122, allocations: 152.7 kB / 303.8 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1221, allocations: 150.9 kB / 303.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.677e-05/0.1221, allocations: 104.2 kB / 304 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1221, allocations: 77.77 kB / 304.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1221, allocations: 157.5 kB / 304.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1221, allocations: 158.2 kB / 304.4 MB, free: 11.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.641e-05/0.1222, allocations: 151.6 kB / 304.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.1223, allocations: 418.1 kB / 305 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.004e-05/0.1223, allocations: 175.5 kB / 305.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.1223, allocations: 83.98 kB / 305.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.1224, allocations: 76.34 kB / 305.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.1225, allocations: 42.66 kB / 305.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/0.1225, allocations: 0 / 305.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.1226, allocations: 45.42 kB / 305.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.1227, allocations: 51.41 kB / 305.4 MB, free: 10.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.012e-05/0.1227, allocations: 102.1 kB / 305.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-06/0.1227, allocations: 26.86 kB / 305.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.61e-05/0.1227, allocations: 85.58 kB / 305.7 MB, free: 10.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.1227, allocations: 7.219 kB / 305.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.1228, allocations: 12.06 kB / 305.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.37e-05/0.1228, allocations: 313.6 kB / 306 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.1228, allocations: 1.938 kB / 306 MB, free: 10.2 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-06/0.1228, allocations: 0 / 306 MB, free: 10.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.757e-05/0.1228, allocations: 16.72 kB / 306 MB, free: 10.2 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1228, allocations: 0 / 306 MB, free: 10.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.977e-05/0.1229, allocations: 36.12 kB / 306 MB, free: 10.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1229, allocations: 9.312 kB / 306 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1229, allocations: 0 / 306 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1229, allocations: 1.828 kB / 306 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.092e-05/0.1229, allocations: 0 / 306 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1229, allocations: 1.125 kB / 306 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.1229, allocations: 1.375 kB / 306.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1229, allocations: 9.312 kB / 306.1 MB, free: 10.15 MB / 282.7 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.166e-05/0.123, allocations: 107.8 kB / 306.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-06/0.123, allocations: 1.125 kB / 306.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.123, allocations: 13.84 kB / 306.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.123, allocations: 2.453 kB / 306.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.123, allocations: 0 / 306.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.123, allocations: 0.7969 kB / 306.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.657e-05/0.1231, allocations: 129.1 kB / 306.3 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.1231, allocations: 3.375 kB / 306.3 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.033e-06/0.1231, allocations: 0.7969 kB / 306.3 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1231, allocations: 5.312 kB / 306.3 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1231, allocations: 3.938 kB / 306.3 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.1231, allocations: 3.938 kB / 306.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.1231, allocations: 2.094 kB / 306.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.303e-05/0.1231, allocations: 58.08 kB / 306.4 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.1231, allocations: 0.7969 kB / 306.4 MB, free: 9.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.1232, allocations: 6.156 kB / 306.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-06/0.1232, allocations: 1.219 kB / 306.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.1232, allocations: 0.7031 kB / 306.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.1232, allocations: 4.594 kB / 306.4 MB, free: 9.801 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.008e-05/0.1232, allocations: 84.97 kB / 306.5 MB, free: 9.727 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1232, allocations: 4 kB / 306.5 MB, free: 9.723 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000257/0.1235, allocations: 130.5 kB / 306.6 MB, free: 9.699 MB / 282.7 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.0007568/0.1242, allocations: 0.9995 MB / 307.6 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.752e-05/0.1243, allocations: 3.969 kB / 307.6 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1243, allocations: 1.094 kB / 307.6 MB, free: 8.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/0.1243, allocations: 14.19 kB / 307.6 MB, free: 8.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001076/0.1244, allocations: 13.78 kB / 307.6 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000555/0.1249, allocations: 1.134 MB / 308.8 MB, free: 7.871 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.155e-05/0.125, allocations: 57.58 kB / 308.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.582e-05/0.125, allocations: 12.27 kB / 308.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.125, allocations: 19.16 kB / 308.9 MB, free: 7.793 MB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.125, allocations: 0 / 308.9 MB, free: 7.793 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.1489, allocations: 4.625 MB / 313.5 MB, free: 6.43 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.008/7.157, allocations: 5.312 kB / 313.5 MB, free: 6.426 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins/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: 8.777622592635453]