Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001454, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008403/0.0008402, allocations: 90.97 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002325/0.0002325, allocations: 4 kB / 357.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.185, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0869/0.2719, allocations: 79.92 MB / 489.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.2721, allocations: 71.97 kB / 489.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01797/0.2901, allocations: 6.951 MB / 496.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2901, allocations: 0 / 496.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2902, allocations: 4 kB / 496.3 MB, free: 3.664 MB / 362.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.0004846/0.2907, allocations: 453.2 kB / 496.8 MB, free: 3.176 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2907, allocations: 8.031 kB / 496.8 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.2908, allocations: 79.19 kB / 496.9 MB, free: 3.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.2909, allocations: 246.3 kB / 497.1 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.291, allocations: 158.5 kB / 497.3 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.035e-05/0.291, allocations: 150.6 kB / 497.4 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.993e-05/0.2911, allocations: 104.9 kB / 497.5 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.2911, allocations: 75.28 kB / 497.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/0.2912, allocations: 158.5 kB / 497.7 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/0.2912, allocations: 154.6 kB / 497.9 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.2913, allocations: 154.6 kB / 498.1 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.2916, allocations: 445.9 kB / 498.5 MB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.297e-05/0.2916, allocations: 173.1 kB / 498.7 MB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.2917, allocations: 75.28 kB / 498.7 MB, free: 1.121 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.986e-05/0.2918, allocations: 51.36 kB / 498.8 MB, free: 1.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.2918, allocations: 0 / 498.8 MB, free: 1.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.2919, allocations: 37.64 kB / 498.8 MB, free: 1.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.2919, allocations: 51.41 kB / 498.9 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.696e-05/0.292, allocations: 96.98 kB / 499 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.292, allocations: 25.7 kB / 499 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.2921, allocations: 84.27 kB / 499.1 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.2921, allocations: 4 kB / 499.1 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-06/0.2921, allocations: 0 / 499.1 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.2922, allocations: 314.8 kB / 499.4 MB, free: 424 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.783e-06/0.2922, allocations: 3.938 kB / 499.4 MB, free: 420 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/0.2922, allocations: 3.141 kB / 499.4 MB, free: 420 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.416e-05/0.2922, allocations: 3.984 kB / 499.4 MB, free: 416 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2922, allocations: 0 / 499.4 MB, free: 416 kB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.071e-05/0.2923, allocations: 41.55 kB / 499.4 MB, free: 368 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2923, allocations: 8.094 kB / 499.4 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2923, allocations: 0 / 499.4 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2924, allocations: 3.953 kB / 499.4 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.457e-05/0.2924, allocations: 0 / 499.4 MB, free: 356 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.2924, allocations: 4 kB / 499.4 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.2924, allocations: 8 kB / 499.5 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.2924, allocations: 0 / 499.5 MB, free: 344 kB / 362.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 5.843e-05/0.2925, allocations: 105.8 kB / 499.6 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.2925, allocations: 3.984 kB / 499.6 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.2925, allocations: 11.12 kB / 499.6 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2925, allocations: 3.953 kB / 499.6 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2925, allocations: 0 / 499.6 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.2926, allocations: 0 / 499.6 MB, free: 208 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.2927, allocations: 153.7 kB / 499.7 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2927, allocations: 0 / 499.7 MB, free: 4 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.077e-06/0.2927, allocations: 3.938 kB / 499.7 MB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2927, allocations: 0 / 499.7 MB, free: 0 / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.2927, allocations: 0 / 499.7 MB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2927, allocations: 0 / 499.7 MB, free: 0 / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/0.2927, allocations: 192 / 499.7 MB, free: 16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.983e-05/0.2928, allocations: 69.02 kB / 499.8 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.2928, allocations: 81.11 kB / 499.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.2929, allocations: 4 kB / 499.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.2929, allocations: 0 / 499.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.2929, allocations: 192 / 499.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.2929, allocations: 0 / 499.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.633e-05/0.2929, allocations: 91.2 kB / 500 MB, free: 15.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.293, allocations: 4.031 kB / 500 MB, free: 15.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000531/0.2935, allocations: 195.8 kB / 0.4884 GB, free: 15.52 MB / 378.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.001016/0.2945, allocations: 0.5375 MB / 0.489 GB, free: 15.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.251e-05/0.2946, allocations: 4 kB / 0.489 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2946, allocations: 3.938 kB / 0.489 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-06/0.2946, allocations: 3.938 kB / 0.489 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.228e-05/0.2947, allocations: 11.94 kB / 0.489 GB, free: 15.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.2949, allocations: 108.8 kB / 0.4891 GB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.2951, allocations: 0.6809 MB / 0.4898 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.777e-05/0.2952, allocations: 11.98 kB / 0.4898 GB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.2952, allocations: 11.44 kB / 0.4898 GB, free: 14.16 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2952, allocations: 4 kB / 0.4898 GB, free: 14.15 MB / 378.7 MB Notification: Performance of Templates: time 0.005689/0.3009, allocations: 3.094 MB / 0.4928 GB, free: 11.06 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","../files/Modelica_trunk_Modelica.Utilities.Examples.readRealParameterModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches