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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009398/0.0009397, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009311/0.0009315, allocations: 90.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.567e-05, allocations: 8 kB / 322.4 MB, free: 17.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 47.57 MB / 370 MB, free: 1.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/0.4579, allocations: 77.95 MB / 447.9 MB, free: 15.35 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.4581, allocations: 71 kB / 448 MB, free: 15.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01717/0.4753, allocations: 6.257 MB / 454.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4754, allocations: 0 / 454.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.4754, allocations: 7.938 kB / 454.3 MB, free: 10.23 MB / 330.7 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.000488/0.4759, allocations: 429 kB / 454.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.476, allocations: 12.03 kB / 454.7 MB, free: 9.766 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.958e-05/0.476, allocations: 75.28 kB / 454.8 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.4762, allocations: 250.5 kB / 455 MB, free: 9.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/0.4763, allocations: 150.6 kB / 455.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.311e-05/0.4763, allocations: 154.6 kB / 455.3 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.958e-05/0.4764, allocations: 104.9 kB / 455.4 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.825e-05/0.4764, allocations: 79.22 kB / 455.5 MB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.4765, allocations: 150.6 kB / 455.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/0.4766, allocations: 154.5 kB / 455.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.355e-05/0.4766, allocations: 158.1 kB / 456 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.4769, allocations: 449.9 kB / 456.4 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.552e-05/0.477, allocations: 172.4 kB / 456.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.477, allocations: 92.12 kB / 456.7 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.4771, allocations: 75.28 kB / 456.7 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.4772, allocations: 55.27 kB / 456.8 MB, free: 7.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.4772, allocations: 0 / 456.8 MB, free: 7.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.4773, allocations: 33.33 kB / 456.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.4774, allocations: 51.41 kB / 456.9 MB, free: 7.473 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.145e-05/0.4775, allocations: 92.94 kB / 457 MB, free: 7.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.4775, allocations: 33.39 kB / 457 MB, free: 7.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.4775, allocations: 88.16 kB / 457.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.4776, allocations: 0 / 457.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.4776, allocations: 0 / 457.1 MB, free: 7.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4777, allocations: 310.8 kB / 457.4 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.4777, allocations: 0 / 457.4 MB, free: 6.938 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.4777, allocations: 4 kB / 457.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.392e-05/0.4777, allocations: 3.688 kB / 457.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4777, allocations: 0 / 457.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.087e-05/0.4778, allocations: 33.7 kB / 457.4 MB, free: 6.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4779, allocations: 8.094 kB / 457.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.4779, allocations: 7.938 kB / 457.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4779, allocations: 0 / 457.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.402e-05/0.4779, allocations: 0 / 457.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.478, allocations: 0.7031 kB / 457.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.562e-05/0.478, allocations: 3.938 kB / 457.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.478, allocations: 4 kB / 457.4 MB, free: 6.871 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.4781, allocations: 101 kB / 457.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.4781, allocations: 0 / 457.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.4781, allocations: 15.08 kB / 457.6 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4781, allocations: 3.953 kB / 457.6 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4781, allocations: 3.938 kB / 457.6 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4782, allocations: 0 / 457.6 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.4783, allocations: 149 kB / 457.7 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4783, allocations: 4 kB / 457.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-06/0.4783, allocations: 3.938 kB / 457.7 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4783, allocations: 0 / 457.7 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.4783, allocations: 0 / 457.7 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.4783, allocations: 3.984 kB / 457.7 MB, free: 6.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4783, allocations: 3.953 kB / 457.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.427e-05/0.4784, allocations: 64.61 kB / 457.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.4785, allocations: 81.09 kB / 457.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.4785, allocations: 0 / 457.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.4785, allocations: 3.938 kB / 457.9 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.4785, allocations: 7.953 kB / 457.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.4785, allocations: 0 / 457.9 MB, free: 6.348 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.255e-05/0.4786, allocations: 87 kB / 458 MB, free: 6.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4786, allocations: 0 / 458 MB, free: 6.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004858/0.4791, allocations: 150.7 kB / 458.1 MB, free: 6.129 MB / 330.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009675/0.4801, allocations: 0.4896 MB / 458.6 MB, free: 5.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.684e-05/0.4801, allocations: 3.938 kB / 458.6 MB, free: 5.645 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4801, allocations: 4 kB / 458.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.4802, allocations: 0 / 458.6 MB, free: 5.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.4803, allocations: 8.109 kB / 458.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001705/0.4804, allocations: 60.5 kB / 458.7 MB, free: 5.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.4807, allocations: 0.6848 MB / 459.4 MB, free: 4.844 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.697e-05/0.4807, allocations: 7.984 kB / 459.4 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.4808, allocations: 11.44 kB / 459.4 MB, free: 4.824 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4808, allocations: 0 / 459.4 MB, free: 4.824 MB / 330.7 MB Notification: Performance of Templates: time 0.005658/0.4864, allocations: 2.748 MB / 462.1 MB, free: 2.086 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile (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 & ./Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches