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.001507/0.001506, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.595/1.595, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0008726/0.0008726, allocations: 96.11 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 4 kB / 328.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2658, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09575/0.3616, allocations: 78.03 MB / 453.8 MB, free: 2.645 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.3618, allocations: 71.97 kB / 453.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.3795, allocations: 6.482 MB / 460.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3795, allocations: 0 / 460.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.3795, allocations: 0 / 460.4 MB, free: 12.09 MB / 346.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.0005271/0.3801, allocations: 435.1 kB / 460.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3801, allocations: 8.031 kB / 460.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.3802, allocations: 87.19 kB / 460.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3804, allocations: 234.4 kB / 461.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.3804, allocations: 154.6 kB / 461.3 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.3805, allocations: 154.6 kB / 461.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.428e-05/0.3805, allocations: 116.8 kB / 461.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.3806, allocations: 75.28 kB / 461.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/0.3806, allocations: 158.6 kB / 461.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.3807, allocations: 150.6 kB / 461.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.3807, allocations: 150.6 kB / 462.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.381, allocations: 446 kB / 462.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.283e-05/0.3811, allocations: 173.1 kB / 462.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.3811, allocations: 79.27 kB / 462.7 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.874e-05/0.3812, allocations: 43.38 kB / 462.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 3.537e-06/0.3812, allocations: 0 / 462.8 MB, free: 9.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.3814, allocations: 49.56 kB / 462.8 MB, free: 9.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3814, allocations: 51.53 kB / 462.9 MB, free: 9.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.809e-05/0.3815, allocations: 93 kB / 463 MB, free: 9.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3815, allocations: 25.7 kB / 463 MB, free: 9.258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.3816, allocations: 92.08 kB / 463.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.3816, allocations: 0 / 463.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-06/0.3816, allocations: 0 / 463.1 MB, free: 9.164 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3817, allocations: 314.9 kB / 463.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-06/0.3817, allocations: 0 / 463.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.927e-06/0.3817, allocations: 0 / 463.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.536e-05/0.3817, allocations: 12.06 kB / 463.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3817, allocations: 0 / 463.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.955e-05/0.3818, allocations: 41.55 kB / 463.5 MB, free: 8.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3818, allocations: 4 kB / 463.5 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3818, allocations: 4 kB / 463.5 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3818, allocations: 3.953 kB / 463.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.692e-05/0.3819, allocations: 0 / 463.5 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3819, allocations: 3.984 kB / 463.5 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.3819, allocations: 0 / 463.5 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.3819, allocations: 0 / 463.5 MB, free: 8.773 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.276e-05/0.382, allocations: 115.4 kB / 463.6 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.382, allocations: 0 / 463.6 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.382, allocations: 7.078 kB / 463.6 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.382, allocations: 3.953 kB / 463.6 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.382, allocations: 0 / 463.6 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3821, allocations: 4 kB / 463.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.3822, allocations: 149.7 kB / 463.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3822, allocations: 0 / 463.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-06/0.3822, allocations: 0 / 463.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3822, allocations: 8 kB / 463.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.3822, allocations: 0 / 463.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3822, allocations: 0 / 463.8 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3822, allocations: 3.953 kB / 463.8 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.977e-05/0.3823, allocations: 61.06 kB / 463.8 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.3823, allocations: 81.11 kB / 463.9 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.3824, allocations: 3.984 kB / 463.9 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.3824, allocations: 7.969 kB / 463.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-06/0.3824, allocations: 0 / 463.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.3824, allocations: 3.953 kB / 463.9 MB, free: 8.242 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.607e-05/0.3824, allocations: 79.47 kB / 464 MB, free: 8.164 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3825, allocations: 0 / 464 MB, free: 8.164 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005147/0.383, allocations: 155.9 kB / 464.1 MB, free: 8.012 MB / 346.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 () * 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 (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.0009398/0.3839, allocations: 0.4956 MB / 464.6 MB, free: 7.539 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.78e-05/0.384, allocations: 11.98 kB / 464.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.384, allocations: 0 / 464.6 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.733e-06/0.384, allocations: 3.938 kB / 464.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.391e-05/0.3841, allocations: 4 kB / 464.7 MB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002241/0.3843, allocations: 112.6 kB / 464.8 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.3846, allocations: 0.677 MB / 465.4 MB, free: 6.684 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.571e-05/0.3846, allocations: 8.125 kB / 465.5 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.755e-05/0.3847, allocations: 15.42 kB / 465.5 MB, free: 6.66 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3847, allocations: 4 kB / 465.5 MB, free: 6.656 MB / 346.7 MB Notification: Performance of Templates: time 0.005498/0.3902, allocations: 2.723 MB / 468.2 MB, free: 3.93 MB / 346.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