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.001462/0.001461, allocations: 200 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.5 MB / 245.4 MB, free: 6.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007713/0.0007713, allocations: 97.23 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002041/0.0002042, allocations: 11.98 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1895, allocations: 51.3 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09472/0.2843, allocations: 79.85 MB / 489.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.2846, allocations: 71.97 kB / 489.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01848/0.303, allocations: 6.836 MB / 496.1 MB, free: 4.754 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3031, allocations: 0 / 496.1 MB, free: 4.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3031, allocations: 4 kB / 496.1 MB, free: 4.75 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.0005224/0.3036, allocations: 443.3 kB / 496.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3037, allocations: 12.03 kB / 496.6 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.3038, allocations: 88.06 kB / 496.7 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.3039, allocations: 243.6 kB / 496.9 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.304, allocations: 150.9 kB / 497 MB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.304, allocations: 150.9 kB / 497.2 MB, free: 3.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.558e-05/0.3041, allocations: 105.5 kB / 497.3 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.3041, allocations: 79.47 kB / 497.4 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.3042, allocations: 158.5 kB / 497.5 MB, free: 3.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.3042, allocations: 150.6 kB / 497.7 MB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/0.3043, allocations: 158.5 kB / 497.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002311/0.3045, allocations: 441.9 kB / 498.3 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.569e-05/0.3046, allocations: 177.1 kB / 498.4 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.3046, allocations: 84.12 kB / 498.5 MB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3047, allocations: 75.28 kB / 498.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.352e-05/0.3048, allocations: 43.36 kB / 498.6 MB, free: 2.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.695e-06/0.3048, allocations: 4 kB / 498.6 MB, free: 2.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001176/0.3049, allocations: 41.61 kB / 498.7 MB, free: 2.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.3049, allocations: 59.41 kB / 498.7 MB, free: 1.945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.305, allocations: 93.86 kB / 498.8 MB, free: 1.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.305, allocations: 25.7 kB / 498.9 MB, free: 1.812 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.3051, allocations: 88.12 kB / 498.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.3051, allocations: 4 kB / 498.9 MB, free: 1.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.3051, allocations: 0 / 498.9 MB, free: 1.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.3052, allocations: 315 kB / 499.2 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.123e-06/0.3052, allocations: 0 / 499.2 MB, free: 1.402 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.3052, allocations: 3.938 kB / 499.3 MB, free: 1.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/0.3053, allocations: 8.859 kB / 499.3 MB, free: 1.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3053, allocations: 0 / 499.3 MB, free: 1.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.347e-05/0.3053, allocations: 37.61 kB / 499.3 MB, free: 1.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3053, allocations: 11.94 kB / 499.3 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3054, allocations: 3.984 kB / 499.3 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3054, allocations: 0 / 499.3 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.771e-05/0.3054, allocations: 4.094 kB / 499.3 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3054, allocations: 0 / 499.3 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.558e-05/0.3054, allocations: 3.938 kB / 499.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.3054, allocations: 0 / 499.3 MB, free: 1.32 MB / 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 6.687e-05/0.3055, allocations: 109.8 kB / 499.4 MB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-06/0.3055, allocations: 7.875 kB / 499.4 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.3056, allocations: 3.125 kB / 499.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3056, allocations: 0 / 499.4 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3056, allocations: 4 kB / 499.4 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3056, allocations: 7.984 kB / 499.5 MB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3057, allocations: 149.7 kB / 499.6 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3057, allocations: 0 / 499.6 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.3057, allocations: 4 kB / 499.6 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3057, allocations: 7.922 kB / 499.6 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.87e-06/0.3057, allocations: 3.938 kB / 499.6 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3058, allocations: 0 / 499.6 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.3058, allocations: 0 / 499.6 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.432e-05/0.3058, allocations: 61.14 kB / 499.7 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.3059, allocations: 81.09 kB / 499.8 MB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3059, allocations: 3.938 kB / 499.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.3059, allocations: 0 / 499.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.3059, allocations: 0 / 499.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.3059, allocations: 4 kB / 499.8 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.306, allocations: 87.22 kB / 499.8 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.306, allocations: 0 / 499.8 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005506/0.3065, allocations: 187.8 kB / 0.4883 GB, free: 0.5156 MB / 362.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.001099/0.3077, allocations: 0.5447 MB / 0.4888 GB, free: 32 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.07e-05/0.3077, allocations: 15.98 kB / 0.4889 GB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3077, allocations: 0 / 0.4889 GB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.3077, allocations: 0 / 0.4889 GB, free: 16 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.3079, allocations: 6.234 kB / 0.4889 GB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.3081, allocations: 120.5 kB / 0.489 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.3084, allocations: 0.677 MB / 0.4896 GB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.894e-05/0.3084, allocations: 12.11 kB / 0.4896 GB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.136e-05/0.3084, allocations: 11.44 kB / 0.4897 GB, free: 15.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3084, allocations: 0 / 0.4897 GB, free: 15.14 MB / 378.7 MB Notification: Performance of Templates: time 0.006064/0.3145, allocations: 3.089 MB / 0.4927 GB, free: 12.04 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/jenkins1/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