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.001204/0.001203, allocations: 106.3 kB / 17.58 MB, free: 5.41 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.00144/0.00144, allocations: 191.9 kB / 18.5 MB, free: 4.516 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.323/1.323, allocations: 205.1 MB / 224.4 MB, free: 12.28 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.001258/0.001258, allocations: 60.14 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09189, allocations: 46.63 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.003379/0.09532, allocations: 1.196 MB / 328.6 MB, free: 3.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.09861, allocations: 1.998 MB / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.09866, allocations: 0 / 330.6 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.09871, allocations: 3.984 kB / 330.6 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.1, allocations: 426.7 kB / 331 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.607e-05/0.1, allocations: 4 kB / 331 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.1001, allocations: 19.91 kB / 331 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.1002, allocations: 0 / 331 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.1002, allocations: 4 kB / 331 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/0.105, allocations: 11.92 kB / 331 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1051, allocations: 4 kB / 331 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009155/0.106, allocations: 427.5 kB / 331.4 MB, free: 292 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.106, allocations: 3.984 kB / 331.4 MB, free: 288 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.1061, allocations: 7.984 kB / 331.5 MB, free: 280 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006318/0.1067, allocations: 335.4 kB / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1067, allocations: 0 / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1067, allocations: 0 / 331.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.1067, allocations: 0 / 331.8 MB, free: 15.95 MB / 286.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.0005065/0.1072, allocations: 407.7 kB / 332.2 MB, free: 15.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1073, allocations: 8.031 kB / 332.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.538e-05/0.1074, allocations: 110 kB / 332.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.301e-05/0.1074, allocations: 80.22 kB / 332.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1076, allocations: 247.5 kB / 332.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.1076, allocations: 150.9 kB / 332.8 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.1077, allocations: 154.5 kB / 332.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.732e-05/0.1078, allocations: 113 kB / 333 MB, free: 14.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.1078, allocations: 75.28 kB / 333.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.1078, allocations: 150.6 kB / 333.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.1079, allocations: 150.6 kB / 333.4 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.182e-05/0.1079, allocations: 150.6 kB / 333.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.1082, allocations: 457.9 kB / 334 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.033e-05/0.1083, allocations: 169.1 kB / 334.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.1083, allocations: 80.14 kB / 334.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1084, allocations: 75.28 kB / 334.3 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.1085, allocations: 55.34 kB / 334.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.534e-06/0.1086, allocations: 0 / 334.4 MB, free: 13.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001213/0.1087, allocations: 33.7 kB / 334.4 MB, free: 13.14 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.1087, allocations: 51.41 kB / 334.4 MB, free: 13.08 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.1088, allocations: 105.8 kB / 334.5 MB, free: 12.97 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.587e-06/0.1088, allocations: 25.7 kB / 334.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3e-05/0.1089, allocations: 88.08 kB / 334.7 MB, free: 12.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.351e-05/0.1089, allocations: 7.891 kB / 334.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.1089, allocations: 13.84 kB / 334.7 MB, free: 12.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.109, allocations: 322.8 kB / 335 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.109, allocations: 0 / 335 MB, free: 12.5 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.109, allocations: 3.938 kB / 335 MB, free: 12.49 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.1091, allocations: 12.8 kB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1091, allocations: 3.938 kB / 335 MB, free: 12.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.327e-05/0.1091, allocations: 29.7 kB / 335 MB, free: 12.44 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.1091, allocations: 4 kB / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1091, allocations: 4.094 kB / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1092, allocations: 4 kB / 335 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.951e-05/0.1092, allocations: 3.984 kB / 335.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1092, allocations: 0 / 335.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.1092, allocations: 0 / 335.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.1092, allocations: 0 / 335.1 MB, free: 12.42 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 6.52e-05/0.1093, allocations: 113.8 kB / 335.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.1093, allocations: 4 kB / 335.2 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.1094, allocations: 7.078 kB / 335.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1094, allocations: 4 kB / 335.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1094, allocations: 7.938 kB / 335.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1094, allocations: 0 / 335.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.1095, allocations: 157.6 kB / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1095, allocations: 0 / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-06/0.1095, allocations: 0 / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1095, allocations: 0 / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.1095, allocations: 4 kB / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1095, allocations: 0 / 335.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1096, allocations: 3.984 kB / 335.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.771e-05/0.1096, allocations: 57.08 kB / 335.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.1097, allocations: 77.11 kB / 335.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1097, allocations: 4 kB / 335.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.329e-05/0.1097, allocations: 0 / 335.5 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.1097, allocations: 7.984 kB / 335.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1097, allocations: 0 / 335.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.918e-05/0.1098, allocations: 79.28 kB / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1098, allocations: 0 / 335.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004428/0.1102, allocations: 135.9 kB / 335.7 MB, free: 11.67 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.001213/0.1115, allocations: 0.9638 MB / 336.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.15e-05/0.1115, allocations: 4 kB / 336.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1116, allocations: 4.062 kB / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-06/0.1116, allocations: 3.938 kB / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.1117, allocations: 4 kB / 336.7 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1128, allocations: 1.146 MB / 337.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.113, allocations: 0.6729 MB / 338.5 MB, free: 8.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.225e-05/0.1131, allocations: 12.05 kB / 338.5 MB, free: 8.738 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1131, allocations: 15.42 kB / 338.5 MB, free: 8.723 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1131, allocations: 4 kB / 338.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.1361, allocations: 3.876 MB / 342.4 MB, free: 4.777 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/7.469, allocations: 15.69 kB / 342.4 MB, free: 4.762 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","/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) Reference file matches