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.001358/0.001358, allocations: 104.9 kB / 17.73 MB, free: 5.367 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.001508/0.001508, allocations: 191 kB / 18.66 MB, free: 4.441 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.418/1.418, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001488/0.001488, allocations: 55.92 kB / 328 MB, free: 3.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09731, allocations: 46.62 MB / 374.6 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002348/0.09971, allocations: 1.182 MB / 375.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.103, allocations: 2.002 MB / 377.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.103, allocations: 0 / 377.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.1031, allocations: 3.938 kB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.1047, allocations: 434.7 kB / 378.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.639e-05/0.1047, allocations: 15.97 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.113e-05/0.1048, allocations: 7.938 kB / 378.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.1049, allocations: 4 kB / 378.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.1049, allocations: 4 kB / 378.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.1052, allocations: 7.938 kB / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.1052, allocations: 0 / 378.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009248/0.1061, allocations: 479.5 kB / 378.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1062, allocations: 0 / 378.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.1062, allocations: 4 kB / 378.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000779/0.107, allocations: 347.3 kB / 379.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.107, allocations: 0 / 379.1 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.107, allocations: 4 kB / 379.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.107, allocations: 0 / 379.1 MB, free: 0.625 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.0005961/0.1076, allocations: 411.7 kB / 379.5 MB, free: 180 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1077, allocations: 8.031 kB / 379.5 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.1078, allocations: 106 kB / 379.6 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.201/0.3088, allocations: 80.12 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.309, allocations: 239.9 kB / 379.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.3091, allocations: 155.8 kB / 380.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3091, allocations: 152.6 kB / 380.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.059e-05/0.3092, allocations: 105.5 kB / 380.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3092, allocations: 75.94 kB / 380.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.3092, allocations: 154.3 kB / 380.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.3093, allocations: 160 kB / 380.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.3093, allocations: 153.2 kB / 380.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.3095, allocations: 444.8 kB / 381.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.596e-05/0.3096, allocations: 174.8 kB / 381.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.3096, allocations: 80.7 kB / 381.5 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3096, allocations: 78.56 kB / 381.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.3098, allocations: 44.14 kB / 381.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 3.587e-06/0.3098, allocations: 0 / 381.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001927/0.31, allocations: 42.09 kB / 381.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3101, allocations: 51.41 kB / 381.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.3102, allocations: 106.6 kB / 381.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.3102, allocations: 25.7 kB / 381.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.3102, allocations: 82.23 kB / 381.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.3102, allocations: 0 / 381.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.3103, allocations: 12.94 kB / 382 MB, free: 10.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.2e-05/0.3103, allocations: 318.2 kB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.3103, allocations: 3.219 kB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.3103, allocations: 1.344 kB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.351e-05/0.3104, allocations: 8.297 kB / 382.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3104, allocations: 3.188 kB / 382.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.424e-05/0.3104, allocations: 39.58 kB / 382.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3105, allocations: 5.906 kB / 382.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3105, allocations: 1.203 kB / 382.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3105, allocations: 5.594 kB / 382.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-05/0.3105, allocations: 0.6094 kB / 382.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3105, allocations: 0 / 382.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.636e-05/0.3106, allocations: 5.062 kB / 382.3 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3106, allocations: 5.781 kB / 382.3 MB, free: 10.2 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 5.389e-05/0.3107, allocations: 111.5 kB / 382.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.3107, allocations: 5.25 kB / 382.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.3107, allocations: 13.45 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3107, allocations: 0 / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3107, allocations: 5.109 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3107, allocations: 2.422 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.759e-05/0.3108, allocations: 148.9 kB / 382.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3108, allocations: 1.281 kB / 382.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-06/0.3108, allocations: 6.438 kB / 382.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3109, allocations: 1.172 kB / 382.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3109, allocations: 4.875 kB / 382.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.3109, allocations: 0 / 382.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3109, allocations: 4.406 kB / 382.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.992e-05/0.3109, allocations: 61.25 kB / 382.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.311, allocations: 78 kB / 382.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.311, allocations: 9.359 kB / 382.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.311, allocations: 0 / 382.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.311, allocations: 2.391 kB / 382.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-06/0.311, allocations: 0 / 382.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.061e-05/0.3111, allocations: 85.41 kB / 382.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3111, allocations: 0 / 382.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005883/0.3117, allocations: 122 kB / 383 MB, free: 9.652 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.001279/0.313, allocations: 0.9568 MB / 384 MB, free: 8.961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001111/0.3131, allocations: 9.875 kB / 384 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3131, allocations: 0.75 kB / 384 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-06/0.3131, allocations: 1.875 kB / 384 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.3133, allocations: 7.125 kB / 384 MB, free: 8.953 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.3142, allocations: 1.154 MB / 385.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.3144, allocations: 0.6745 MB / 385.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.3144, allocations: 10.19 kB / 385.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.3144, allocations: 12.78 kB / 385.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3145, allocations: 0 / 385.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.3426, allocations: 3.915 MB / 389.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.049, allocations: 20.7 kB / 389.8 MB, free: 6.379 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