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.001089/0.001089, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 71.88 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.272, allocations: 50.54 MB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001858/0.2739, allocations: 1.2 MB / 409.9 MB, free: 320 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.2767, allocations: 2.065 MB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.2767, allocations: 3.938 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.2767, allocations: 7.922 kB / 412 MB, free: 14.22 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.001023/0.2778, allocations: 462.1 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.941e-05/0.2778, allocations: 7.875 kB / 412.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.953e-05/0.2778, allocations: 7.984 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.2779, allocations: 7.984 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.694e-05/0.2779, allocations: 0 / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05128/0.3292, allocations: 15.88 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3292, allocations: 4 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.3305, allocations: 0.5112 MB / 413 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.3305, allocations: 3.984 kB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.3306, allocations: 4 kB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006477/0.3312, allocations: 375.4 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.3312, allocations: 0 / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3312, allocations: 7.938 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3312, allocations: 0 / 413.4 MB, free: 12.84 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.0005078/0.3318, allocations: 425 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3318, allocations: 12.03 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.044e-05/0.3319, allocations: 106 kB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.048e-05/0.332, allocations: 76.22 kB / 414 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.3322, allocations: 243.7 kB / 414.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.3322, allocations: 154.9 kB / 414.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.3323, allocations: 154.5 kB / 414.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.601e-05/0.3324, allocations: 105 kB / 414.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.3324, allocations: 79.28 kB / 414.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/0.3325, allocations: 150.6 kB / 414.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.3325, allocations: 154.5 kB / 415 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.3326, allocations: 150.6 kB / 415.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.3329, allocations: 457.9 kB / 415.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.243e-05/0.333, allocations: 169.1 kB / 415.8 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.333, allocations: 84.19 kB / 415.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.333, allocations: 79.22 kB / 415.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.3332, allocations: 51.41 kB / 416 MB, free: 10.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.104e-06/0.3332, allocations: 0 / 416 MB, free: 10.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.3334, allocations: 33.7 kB / 416 MB, free: 10.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.3334, allocations: 51.41 kB / 416.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.3335, allocations: 109.8 kB / 416.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3335, allocations: 29.64 kB / 416.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.3336, allocations: 84.14 kB / 416.3 MB, free: 9.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.3336, allocations: 3.906 kB / 416.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.3336, allocations: 17.84 kB / 416.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3338, allocations: 310.8 kB / 416.6 MB, free: 9.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.3338, allocations: 4 kB / 416.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-06/0.3338, allocations: 0 / 416.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.197e-05/0.3338, allocations: 12.84 kB / 416.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3338, allocations: 7.875 kB / 416.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.24e-05/0.3339, allocations: 33.7 kB / 416.7 MB, free: 9.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3339, allocations: 4 kB / 416.7 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3339, allocations: 4.094 kB / 416.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.334, allocations: 7.938 kB / 416.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.727e-05/0.334, allocations: 0 / 416.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.334, allocations: 0 / 416.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.509e-05/0.334, allocations: 0 / 416.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.334, allocations: 0 / 416.7 MB, free: 9.297 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 6.472e-05/0.3341, allocations: 117.7 kB / 416.8 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.3341, allocations: 4 kB / 416.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.3341, allocations: 7.078 kB / 416.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3341, allocations: 4 kB / 416.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3341, allocations: 0 / 416.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.3341, allocations: 0 / 416.8 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.602e-05/0.3342, allocations: 157.6 kB / 417 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3343, allocations: 0 / 417 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-06/0.3343, allocations: 0 / 417 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3343, allocations: 0 / 417 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-06/0.3343, allocations: 0 / 417 MB, free: 8.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3343, allocations: 4 kB / 417 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3343, allocations: 0 / 417 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.313e-05/0.3343, allocations: 69 kB / 417 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-05/0.3344, allocations: 77.11 kB / 417.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.3344, allocations: 4 kB / 417.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.183e-05/0.3344, allocations: 0 / 417.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-06/0.3344, allocations: 0 / 417.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3344, allocations: 0 / 417.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.947e-05/0.3345, allocations: 87.2 kB / 417.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3345, allocations: 0 / 417.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.3349, allocations: 148 kB / 417.3 MB, free: 8.531 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.001081/0.336, allocations: 0.9933 MB / 418.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.075e-05/0.3361, allocations: 11.92 kB / 418.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3361, allocations: 0 / 418.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.3361, allocations: 4 kB / 418.4 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.3362, allocations: 2.75 kB / 418.4 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009817/0.3372, allocations: 1.162 MB / 419.5 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.3374, allocations: 0.6729 MB / 420.2 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.915e-05/0.3374, allocations: 8 kB / 420.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.3375, allocations: 23.36 kB / 420.2 MB, free: 5.582 MB / 334.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3375, allocations: 3.938 kB / 420.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03795/0.3754, allocations: 4.341 MB / 424.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/8.137, allocations: 11.86 kB / 424.6 MB, free: 1.316 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.0.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