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.001709/0.001709, allocations: 106.5 kB / 17.73 MB, free: 5.363 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.001911/0.001911, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.68/1.68, 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.001865/0.001865, allocations: 55.92 kB / 328 MB, free: 3.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/0.09587, allocations: 46.62 MB / 374.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002652/0.09858, allocations: 1.201 MB / 375.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.1024, allocations: 1.998 MB / 377.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.1024, allocations: 0 / 377.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.1025, allocations: 0 / 377.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.104, allocations: 438.6 kB / 378.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.419e-05/0.104, allocations: 11.94 kB / 378.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1041, allocations: 4 kB / 378.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.1041, allocations: 0 / 378.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.1042, allocations: 15.91 kB / 378.3 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003002/0.1045, allocations: 11.94 kB / 378.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1045, allocations: 0 / 378.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000904/0.1054, allocations: 479.5 kB / 378.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.1055, allocations: 0 / 378.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1055, allocations: 4 kB / 378.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005075/0.106, allocations: 339.1 kB / 379.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.106, allocations: 4 kB / 379.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.106, allocations: 0 / 379.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.106, allocations: 0 / 379.1 MB, free: 0.6172 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.0004813/0.1065, allocations: 414.6 kB / 379.5 MB, free: 168 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1066, allocations: 8.031 kB / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.062e-05/0.1066, allocations: 106 kB / 379.6 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1729/0.2795, allocations: 76.22 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.2798, allocations: 242.9 kB / 379.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.2798, allocations: 154.1 kB / 380.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.2799, allocations: 154 kB / 380.2 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.027e-05/0.28, allocations: 101.5 kB / 380.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.28, allocations: 76.28 kB / 380.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.28, allocations: 157.8 kB / 380.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.2801, allocations: 154.5 kB / 380.7 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/0.2801, allocations: 155.2 kB / 380.9 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.2804, allocations: 447.2 kB / 381.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.257e-05/0.2805, allocations: 170 kB / 381.5 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.32e-05/0.2805, allocations: 80.89 kB / 381.5 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.2805, allocations: 82.78 kB / 381.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.2808, allocations: 45.03 kB / 381.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 3.336e-06/0.2808, allocations: 1.188 kB / 381.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001682/0.281, allocations: 40 kB / 381.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.281, allocations: 59.83 kB / 381.8 MB, free: 10.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.2811, allocations: 98.81 kB / 381.9 MB, free: 10.69 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.2811, allocations: 28.95 kB / 381.9 MB, free: 10.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.2811, allocations: 81.91 kB / 382 MB, free: 10.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.2812, allocations: 1.062 kB / 382 MB, free: 10.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.2812, allocations: 10.72 kB / 382 MB, free: 10.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.2813, allocations: 317.1 kB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.2813, allocations: 1.344 kB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.2813, allocations: 1.031 kB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.2813, allocations: 11.33 kB / 382.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2813, allocations: 0 / 382.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.591e-05/0.2814, allocations: 48.69 kB / 382.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2814, allocations: 5.375 kB / 382.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2814, allocations: 2.906 kB / 382.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2815, allocations: 5.281 kB / 382.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.581e-05/0.2815, allocations: 1.078 kB / 382.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.2815, allocations: 1.438 kB / 382.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.2815, allocations: 0 / 382.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2815, allocations: 3.969 kB / 382.4 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 6.273e-05/0.2816, allocations: 113.1 kB / 382.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.2816, allocations: 0.6562 kB / 382.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.2817, allocations: 13.86 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2817, allocations: 0.5156 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2817, allocations: 1.344 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2817, allocations: 1.406 kB / 382.5 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.975e-05/0.2818, allocations: 150.8 kB / 382.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2818, allocations: 0 / 382.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-06/0.2818, allocations: 7.453 kB / 382.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2818, allocations: 1.438 kB / 382.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2818, allocations: 3.938 kB / 382.6 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2819, allocations: 3.391 kB / 382.7 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2819, allocations: 1.281 kB / 382.7 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.363e-05/0.2819, allocations: 64.12 kB / 382.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.282, allocations: 78.92 kB / 382.8 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.282, allocations: 8.25 kB / 382.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/0.282, allocations: 0.5 kB / 382.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.282, allocations: 2.703 kB / 382.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.282, allocations: 0 / 382.8 MB, free: 9.723 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.668e-05/0.2821, allocations: 84.02 kB / 382.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2821, allocations: 0.5938 kB / 382.9 MB, free: 9.648 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.2827, allocations: 127.8 kB / 383 MB, free: 9.648 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.001439/0.2841, allocations: 0.9539 MB / 384 MB, free: 8.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.306e-05/0.2842, allocations: 11.12 kB / 384 MB, free: 8.953 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2843, allocations: 1.344 kB / 384 MB, free: 8.953 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-06/0.2843, allocations: 3.828 kB / 384 MB, free: 8.953 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.2844, allocations: 13.69 kB / 384 MB, free: 8.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.2854, allocations: 1.159 MB / 385.2 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.2855, allocations: 0.6737 MB / 385.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.573e-05/0.2855, allocations: 11.28 kB / 385.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.2856, allocations: 14.33 kB / 385.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2856, allocations: 0 / 385.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.3164, allocations: 3.908 MB / 389.8 MB, free: 6.383 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.455, allocations: 20.73 kB / 389.8 MB, free: 6.363 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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.csv","/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