Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001268/0.001268, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 59.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2595, allocations: 50.55 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002513/0.262, allocations: 1.203 MB / 410 MB, free: 296 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.2655, allocations: 2.073 MB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.2655, allocations: 0 / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.2656, allocations: 7.875 kB / 412.1 MB, free: 14.2 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.001294/0.2669, allocations: 470.5 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.474e-05/0.2669, allocations: 7.938 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.832e-05/0.267, allocations: 8 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.267, allocations: 4 kB / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.2671, allocations: 0 / 412.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.2674, allocations: 19.91 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.2674, allocations: 3.938 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008652/0.2683, allocations: 0.5073 MB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.2683, allocations: 3.984 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.2684, allocations: 4 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.269, allocations: 374.1 kB / 413.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.269, allocations: 0 / 413.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.269, allocations: 4 kB / 413.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.269, allocations: 7.938 kB / 413.5 MB, free: 12.8 MB / 334.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.0005378/0.2696, allocations: 418.5 kB / 413.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2696, allocations: 16.02 kB / 413.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.869e-05/0.2697, allocations: 106 kB / 414 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.2698, allocations: 80.17 kB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.27, allocations: 243.6 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.925e-05/0.2701, allocations: 154.9 kB / 414.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/0.2702, allocations: 154.5 kB / 414.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.2702, allocations: 109 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.2703, allocations: 79.28 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.2704, allocations: 154.6 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.696e-05/0.2704, allocations: 154.5 kB / 415.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.2705, allocations: 154.6 kB / 415.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.2709, allocations: 442 kB / 415.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.271, allocations: 177.1 kB / 415.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.2711, allocations: 84.19 kB / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.2711, allocations: 79.28 kB / 416 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000167/0.2713, allocations: 43.36 kB / 416.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 4.579e-06/0.2713, allocations: 3.984 kB / 416.1 MB, free: 10.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.000138/0.2715, allocations: 37.69 kB / 416.1 MB, free: 9.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.2715, allocations: 55.41 kB / 416.2 MB, free: 9.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.2716, allocations: 101.9 kB / 416.3 MB, free: 9.805 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.2716, allocations: 29.7 kB / 416.3 MB, free: 9.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.018e-05/0.2717, allocations: 92.05 kB / 416.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.2717, allocations: 7.953 kB / 416.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.2718, allocations: 9.719 kB / 416.4 MB, free: 9.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2719, allocations: 314.8 kB / 416.7 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.2719, allocations: 4 kB / 416.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-06/0.272, allocations: 0 / 416.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.26e-05/0.272, allocations: 12.86 kB / 416.7 MB, free: 9.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.272, allocations: 7.938 kB / 416.7 MB, free: 9.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.447e-05/0.2721, allocations: 33.69 kB / 416.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2721, allocations: 7.125 kB / 416.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2721, allocations: 0 / 416.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2721, allocations: 0 / 416.8 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.362e-05/0.2721, allocations: 7.938 kB / 416.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2721, allocations: 0 / 416.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.2722, allocations: 0 / 416.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2722, allocations: 0 / 416.8 MB, free: 9.258 MB / 334.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 9.596e-05/0.2723, allocations: 117.8 kB / 416.9 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.2723, allocations: 4 kB / 416.9 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.2723, allocations: 11.06 kB / 416.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2723, allocations: 0 / 416.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2724, allocations: 0 / 416.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2724, allocations: 0 / 416.9 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.2725, allocations: 153.6 kB / 417 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2725, allocations: 0 / 417 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-06/0.2725, allocations: 0 / 417 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2725, allocations: 4 kB / 417.1 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.2725, allocations: 0 / 417.1 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.2725, allocations: 0 / 417.1 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2726, allocations: 4 kB / 417.1 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.2727, allocations: 61.02 kB / 417.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.2727, allocations: 81.09 kB / 417.2 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2728, allocations: 4 kB / 417.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.54e-05/0.2728, allocations: 4 kB / 417.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.2728, allocations: 4.031 kB / 417.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.2728, allocations: 0 / 417.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.2729, allocations: 83.28 kB / 417.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2729, allocations: 3.938 kB / 417.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004467/0.2733, allocations: 151.5 kB / 417.4 MB, free: 8.484 MB / 334.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.001487/0.2748, allocations: 0.9853 MB / 418.4 MB, free: 7.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.906e-05/0.2749, allocations: 11.94 kB / 418.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2749, allocations: 0 / 418.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.029e-06/0.2749, allocations: 0 / 418.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.2751, allocations: 10.22 kB / 418.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2763, allocations: 1.158 MB / 419.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.2766, allocations: 0.6729 MB / 420.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.029e-05/0.2767, allocations: 7.984 kB / 420.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.2767, allocations: 19.42 kB / 420.3 MB, free: 5.543 MB / 334.1 MB Notification: Performance of SimCode: time 2.104e-06/0.2767, allocations: 4 kB / 420.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.3081, allocations: 4.331 MB / 424.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/8.495, allocations: 10.38 kB / 424.6 MB, free: 1.293 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/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_trunk_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches