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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009356, allocations: 104.4 kB / 17.15 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009798/0.0009798, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 48.14 kB / 280 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1123, allocations: 46.64 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.003142/0.1155, allocations: 1.249 MB / 327.9 MB, free: 3.535 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.1191, allocations: 2.035 MB / 330 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.1191, allocations: 0 / 330 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.1192, allocations: 0 / 330 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.1205, allocations: 331.3 kB / 330.3 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.906e-05/0.1206, allocations: 3.984 kB / 330.3 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.1206, allocations: 11.94 kB / 330.3 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.1207, allocations: 4 kB / 330.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.1207, allocations: 0 / 330.3 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.121, allocations: 11.92 kB / 330.3 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.121, allocations: 4 kB / 330.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008491/0.1219, allocations: 427.5 kB / 330.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.1219, allocations: 3.984 kB / 330.8 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.122, allocations: 7.938 kB / 330.8 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008016/0.1228, allocations: 335.4 kB / 331.1 MB, free: 380 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1228, allocations: 3.938 kB / 331.1 MB, free: 376 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1228, allocations: 0 / 331.1 MB, free: 376 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1228, allocations: 4 kB / 331.1 MB, free: 372 kB / 270.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.0006204/0.1234, allocations: 407.7 kB / 331.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.1235, allocations: 12.02 kB / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.288e-05/0.1236, allocations: 110 kB / 331.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/0.1237, allocations: 80.22 kB / 331.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.1238, allocations: 247.6 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.977e-05/0.1239, allocations: 154.9 kB / 332.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/0.124, allocations: 158.5 kB / 332.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.202e-05/0.1241, allocations: 105 kB / 332.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.1241, allocations: 75.28 kB / 332.4 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.1242, allocations: 154.5 kB / 332.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.1243, allocations: 150.6 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.75e-05/0.1243, allocations: 154.6 kB / 332.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.1247, allocations: 446 kB / 333.3 MB, free: 14 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.261e-05/0.1248, allocations: 173.1 kB / 333.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.1249, allocations: 80.14 kB / 333.5 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.1249, allocations: 87.22 kB / 333.6 MB, free: 13.65 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.1251, allocations: 39.42 kB / 333.7 MB, free: 13.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 3.547e-06/0.1251, allocations: 0 / 333.7 MB, free: 13.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001746/0.1253, allocations: 41.67 kB / 333.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.1254, allocations: 51.41 kB / 333.8 MB, free: 13.49 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.554e-05/0.1255, allocations: 101.8 kB / 333.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.1255, allocations: 37.81 kB / 333.9 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1255, allocations: 80.14 kB / 334 MB, free: 13.26 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1256, allocations: 7.906 kB / 334 MB, free: 13.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.1256, allocations: 13.77 kB / 334 MB, free: 13.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1258, allocations: 314.8 kB / 334.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.598e-06/0.1258, allocations: 0 / 334.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.927e-06/0.1258, allocations: 0 / 334.3 MB, free: 12.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.1258, allocations: 12.86 kB / 334.3 MB, free: 12.9 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1258, allocations: 7.938 kB / 334.3 MB, free: 12.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.336e-05/0.1259, allocations: 37.69 kB / 334.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.126, allocations: 4 kB / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.126, allocations: 7.938 kB / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.126, allocations: 0 / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.06e-05/0.126, allocations: 0 / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1261, allocations: 0 / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.1261, allocations: 0 / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1261, allocations: 3.938 kB / 334.4 MB, free: 12.83 MB / 286.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 0.0001028/0.1262, allocations: 117.8 kB / 334.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1262, allocations: 0 / 334.5 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.1263, allocations: 11.06 kB / 334.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1263, allocations: 0 / 334.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1263, allocations: 0 / 334.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1263, allocations: 0 / 334.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.1265, allocations: 157.6 kB / 334.7 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1265, allocations: 0 / 334.7 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.348e-06/0.1265, allocations: 0 / 334.7 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1265, allocations: 0 / 334.7 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.1265, allocations: 8 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1265, allocations: 4 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1265, allocations: 0 / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.532e-05/0.1266, allocations: 61.02 kB / 334.7 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1267, allocations: 85.09 kB / 334.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.1267, allocations: 0 / 334.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.392e-05/0.1267, allocations: 0 / 334.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.1267, allocations: 0 / 334.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.1267, allocations: 4.031 kB / 334.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.1268, allocations: 79.28 kB / 334.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 334.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005253/0.1273, allocations: 131.9 kB / 335 MB, free: 12.09 MB / 286.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.001311/0.1286, allocations: 0.9562 MB / 336 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.558e-05/0.1287, allocations: 11.88 kB / 336 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1287, allocations: 0 / 336 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.17e-06/0.1288, allocations: 0 / 336 MB, free: 11.11 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.1289, allocations: 12 kB / 336 MB, free: 11.09 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.13, allocations: 1.144 MB / 337.1 MB, free: 9.871 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1303, allocations: 0.6771 MB / 337.8 MB, free: 9.168 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.402e-05/0.1303, allocations: 11.98 kB / 337.8 MB, free: 9.156 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.403e-05/0.1304, allocations: 15.44 kB / 337.8 MB, free: 9.141 MB / 286.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1304, allocations: 0 / 337.8 MB, free: 9.141 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01728/0.1477, allocations: 3.767 MB / 341.6 MB, free: 5.332 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.1479, allocations: 251.8 kB / 341.9 MB, free: 5.066 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.016, allocations: 4 kB / 341.9 MB, free: 5.062 MB / 286.1 MB (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 --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) 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","../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches