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.001227/0.001227, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.00118/0.00118, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.428/1.428, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001619/0.001619, allocations: 59.91 kB / 328 MB, free: 3.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09226/0.09388, allocations: 46.61 MB / 374.6 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002411/0.09634, allocations: 1.193 MB / 375.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.09966, allocations: 2.002 MB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.09969, allocations: 4 kB / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.09973, allocations: 0 / 377.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.101, allocations: 442.5 kB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.687e-05/0.101, allocations: 8 kB / 378.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.1011, allocations: 7.938 kB / 378.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.815e-05/0.1011, allocations: 0 / 378.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.1011, allocations: 4 kB / 378.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.1015, allocations: 19.91 kB / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1015, allocations: 0 / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007309/0.1022, allocations: 471.5 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.608e-05/0.1022, allocations: 7.984 kB / 378.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.1023, allocations: 4 kB / 378.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.1028, allocations: 339.1 kB / 379.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1028, allocations: 0 / 379.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1028, allocations: 4 kB / 379.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1028, allocations: 0 / 379.1 MB, free: 0.6211 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.000513/0.1033, allocations: 410.6 kB / 379.5 MB, free: 176 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.1034, allocations: 12.03 kB / 379.5 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.701e-05/0.1035, allocations: 106 kB / 379.6 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.184/0.2875, allocations: 80.22 kB / 379.7 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2877, allocations: 240.7 kB / 379.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.2877, allocations: 153 kB / 380.1 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2878, allocations: 151.5 kB / 380.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.953e-05/0.2878, allocations: 103.8 kB / 380.3 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2878, allocations: 76.41 kB / 380.4 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.521e-05/0.2879, allocations: 155 kB / 380.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.2879, allocations: 155.1 kB / 380.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.2879, allocations: 155.9 kB / 380.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.2881, allocations: 452.2 kB / 381.3 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.862e-05/0.2881, allocations: 166.9 kB / 381.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.2882, allocations: 82.45 kB / 381.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.2882, allocations: 75.28 kB / 381.6 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.2884, allocations: 52.97 kB / 381.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.2884, allocations: 0 / 381.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001207/0.2885, allocations: 38.58 kB / 381.7 MB, free: 10.86 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.2885, allocations: 51.41 kB / 381.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.697e-05/0.2886, allocations: 105.5 kB / 381.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.2886, allocations: 25.7 kB / 381.9 MB, free: 10.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.066e-05/0.2886, allocations: 88.64 kB / 382 MB, free: 10.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.2886, allocations: 1 kB / 382 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.2887, allocations: 11.89 kB / 382 MB, free: 10.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.2887, allocations: 313 kB / 382.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-06/0.2887, allocations: 3.469 kB / 382.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.272e-06/0.2887, allocations: 3.375 kB / 382.3 MB, free: 10.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.894e-05/0.2888, allocations: 13.39 kB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2888, allocations: 0 / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.692e-05/0.2888, allocations: 33.06 kB / 382.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2889, allocations: 10.47 kB / 382.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2889, allocations: 3.922 kB / 382.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.2889, allocations: 4.781 kB / 382.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.331e-05/0.2889, allocations: 1.484 kB / 382.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2889, allocations: 0 / 382.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.163e-05/0.289, allocations: 0 / 382.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.289, allocations: 2.156 kB / 382.4 MB, free: 10.21 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.548e-05/0.289, allocations: 111.8 kB / 382.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-06/0.289, allocations: 1.031 kB / 382.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.2891, allocations: 21.8 kB / 382.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2891, allocations: 1.719 kB / 382.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2891, allocations: 0.875 kB / 382.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2891, allocations: 1.516 kB / 382.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.326e-05/0.2892, allocations: 147.4 kB / 382.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2892, allocations: 0 / 382.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-06/0.2892, allocations: 0.7031 kB / 382.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2892, allocations: 1.375 kB / 382.6 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.2892, allocations: 8.938 kB / 382.6 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2892, allocations: 0.9375 kB / 382.6 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2892, allocations: 4.547 kB / 382.7 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.124e-05/0.2893, allocations: 65.72 kB / 382.7 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.2893, allocations: 81.16 kB / 382.8 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.2893, allocations: 4.547 kB / 382.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.2893, allocations: 2.078 kB / 382.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-06/0.2893, allocations: 0 / 382.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.2893, allocations: 1.891 kB / 382.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.72e-05/0.2894, allocations: 84.44 kB / 382.9 MB, free: 9.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2894, allocations: 4.25 kB / 382.9 MB, free: 9.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005026/0.2899, allocations: 127 kB / 383 MB, free: 9.656 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.001143/0.291, allocations: 0.956 MB / 384 MB, free: 8.969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.057e-05/0.2911, allocations: 16.72 kB / 384 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2911, allocations: 0 / 384 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-06/0.2911, allocations: 1.594 kB / 384 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.2913, allocations: 7.406 kB / 384 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009983/0.2923, allocations: 1.153 MB / 385.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.2925, allocations: 0.674 MB / 385.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.922e-05/0.2925, allocations: 9.156 kB / 385.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.2926, allocations: 15.2 kB / 385.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2926, allocations: 5.25 kB / 385.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.3242, allocations: 3.906 MB / 389.8 MB, free: 6.395 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.057, allocations: 28.89 kB / 389.8 MB, free: 6.367 MB / 318.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