Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001497/0.001497, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001078/0.001078, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.743e-05, allocations: 7.984 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.0974, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3945/0.492, allocations: 77.94 MB / 447 MB, free: 15.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4923, allocations: 77.02 kB / 447.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02791/0.5202, allocations: 6.266 MB / 453.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5203, allocations: 0 / 453.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.5203, allocations: 0 / 453.4 MB, free: 10.14 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.0006663/0.521, allocations: 429 kB / 453.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.521, allocations: 8.031 kB / 453.8 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.014e-05/0.5211, allocations: 79.28 kB / 453.9 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.5213, allocations: 245.9 kB / 454.1 MB, free: 9.324 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/0.5214, allocations: 154.6 kB / 454.2 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.5214, allocations: 154.6 kB / 454.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.775e-05/0.5215, allocations: 104.9 kB / 454.5 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.246e-05/0.5216, allocations: 75.28 kB / 454.6 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.369e-05/0.5216, allocations: 150.6 kB / 454.7 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.657e-05/0.5217, allocations: 153.6 kB / 454.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.996e-05/0.5218, allocations: 162.5 kB / 455 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.5221, allocations: 452.9 kB / 455.5 MB, free: 7.891 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.874e-05/0.5222, allocations: 165.1 kB / 455.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.5223, allocations: 84.19 kB / 455.7 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.5223, allocations: 79.28 kB / 455.8 MB, free: 7.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.5224, allocations: 58.64 kB / 455.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 3.677e-06/0.5225, allocations: 0 / 455.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.5226, allocations: 29.7 kB / 455.9 MB, free: 7.453 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.5227, allocations: 55.41 kB / 455.9 MB, free: 7.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.5228, allocations: 92.38 kB / 456 MB, free: 7.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.5228, allocations: 29.73 kB / 456.1 MB, free: 7.258 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.996e-05/0.5229, allocations: 150.6 kB / 456.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.5229, allocations: 0 / 456.2 MB, free: 7.109 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-06/0.5229, allocations: 4 kB / 456.2 MB, free: 7.105 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.523, allocations: 318.1 kB / 456.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.818e-06/0.5231, allocations: 0 / 456.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.5231, allocations: 0 / 456.5 MB, free: 6.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/0.5231, allocations: 7.938 kB / 456.5 MB, free: 6.781 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5231, allocations: 4.062 kB / 456.5 MB, free: 6.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.557e-05/0.5232, allocations: 33.64 kB / 456.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5232, allocations: 4 kB / 456.6 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5232, allocations: 3.953 kB / 456.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5233, allocations: 0 / 456.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.584e-05/0.5233, allocations: 4 kB / 456.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5233, allocations: 0 / 456.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.923e-05/0.5233, allocations: 0 / 456.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.5234, allocations: 3.984 kB / 456.6 MB, free: 6.723 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 8.029e-05/0.5235, allocations: 105 kB / 456.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.5235, allocations: 4 kB / 456.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.5235, allocations: 10.45 kB / 456.7 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.5236, allocations: 7.953 kB / 456.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5236, allocations: 0 / 456.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5236, allocations: 0 / 456.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.5237, allocations: 149.7 kB / 456.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5237, allocations: 0 / 456.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-06/0.5237, allocations: 0 / 456.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5238, allocations: 3.938 kB / 456.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.5238, allocations: 4 kB / 456.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5238, allocations: 0 / 456.9 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.5238, allocations: 7.891 kB / 456.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.985e-05/0.5239, allocations: 60.5 kB / 456.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.524, allocations: 81.02 kB / 457 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.524, allocations: 4 kB / 457 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.9e-05/0.524, allocations: 3.312 kB / 457 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.524, allocations: 7.938 kB / 457 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.5241, allocations: 4.031 kB / 457 MB, free: 6.195 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.228e-05/0.5241, allocations: 79.28 kB / 457.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5242, allocations: 0 / 457.1 MB, free: 6.117 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007584/0.5249, allocations: 154 kB / 457.2 MB, free: 5.977 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.001391/0.5263, allocations: 0.4966 MB / 457.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.167e-05/0.5264, allocations: 4 kB / 457.7 MB, free: 5.488 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5265, allocations: 4.062 kB / 457.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.866e-06/0.5265, allocations: 0 / 457.7 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.5266, allocations: 7.953 kB / 457.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002141/0.5269, allocations: 89.94 kB / 457.8 MB, free: 5.363 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.5271, allocations: 0.677 MB / 458.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.5272, allocations: 11.44 kB / 458.5 MB, free: 4.648 MB / 330.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5272, allocations: 0 / 458.5 MB, free: 4.648 MB / 330.7 MB Notification: Performance of Templates: time 0.008895/0.5361, allocations: 3.221 MB / 461.8 MB, free: 1.422 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches