Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 205.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 54.5 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08198/0.08308, allocations: 50.53 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001627/0.08473, allocations: 0.5782 MB / 358.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.08671, allocations: 1.834 MB / 360 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.08675, allocations: 4 kB / 360 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005237/0.09201, allocations: 162.6 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.09208, allocations: 19.92 kB / 360.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.09225, allocations: 55.06 kB / 360.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.09236, allocations: 43.84 kB / 360.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.232e-05/0.0924, allocations: 7.984 kB / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.65e-05/0.09245, allocations: 19.88 kB / 360.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.879e-05/0.09253, allocations: 31.89 kB / 360.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.09255, allocations: 4 kB / 360.4 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.09261, allocations: 8 kB / 360.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.09269, allocations: 51.89 kB / 360.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.09275, allocations: 27.8 kB / 360.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.526e-05/0.09284, allocations: 35.89 kB / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.09285, allocations: 0 / 360.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09286, allocations: 8 kB / 360.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.09287, allocations: 0 / 360.5 MB, free: 11.56 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003876/0.09326, allocations: 393.2 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.0933, allocations: 8.031 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.09335, allocations: 8.844 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.09357, allocations: 216.1 kB / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-06/0.09358, allocations: 384 / 361.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.09361, allocations: 8.281 kB / 361.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.09372, allocations: 74.3 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.09373, allocations: 0 / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.09375, allocations: 7.984 kB / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.09376, allocations: 0 / 361.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.09378, allocations: 7.938 kB / 361.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.09406, allocations: 169.7 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.09411, allocations: 26.58 kB / 361.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.09414, allocations: 12.91 kB / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.861e-06/0.09415, allocations: 0 / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.09419, allocations: 60.2 kB / 361.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.0942, allocations: 0 / 361.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.09432, allocations: 45.64 kB / 361.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.0944, allocations: 158.3 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.09454, allocations: 172.5 kB / 361.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.09457, allocations: 25.7 kB / 361.9 MB, free: 9.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.09462, allocations: 92.14 kB / 362 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.09464, allocations: 7.891 kB / 362 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.09468, allocations: 17.72 kB / 362 MB, free: 9.824 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.945e-05/0.09479, allocations: 322.8 kB / 362.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/0.0948, allocations: 0 / 362.3 MB, free: 9.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/0.09486, allocations: 40.3 kB / 362.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.09489, allocations: 24.78 kB / 362.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.0949, allocations: 0 / 362.4 MB, free: 9.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.69e-05/0.09497, allocations: 45.61 kB / 362.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.09499, allocations: 7.938 kB / 362.4 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.095, allocations: 4 kB / 362.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.09502, allocations: 0 / 362.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.644e-05/0.09505, allocations: 12.02 kB / 362.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.09506, allocations: 4 kB / 362.4 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.09513, allocations: 3.938 kB / 362.4 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.09514, allocations: 0 / 362.4 MB, free: 9.336 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.09526, allocations: 133.7 kB / 362.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.09528, allocations: 11.84 kB / 362.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.381e-05/0.09531, allocations: 15.83 kB / 362.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.09532, allocations: 0 / 362.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.09532, allocations: 0 / 362.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.09533, allocations: 4 kB / 362.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.0955, allocations: 173.6 kB / 362.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.09552, allocations: 0 / 362.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.09555, allocations: 3.938 kB / 362.8 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.09556, allocations: 7.938 kB / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.09558, allocations: 0 / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.09559, allocations: 0 / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.09559, allocations: 0 / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.09571, allocations: 77.03 kB / 362.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.09577, allocations: 85.08 kB / 362.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.0958, allocations: 12.03 kB / 362.9 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.099e-05/0.09587, allocations: 7.984 kB / 363 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-06/0.09588, allocations: 0 / 363 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.09589, allocations: 0 / 363 MB, free: 8.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.863e-05/0.09598, allocations: 129.7 kB / 363.1 MB, free: 8.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09599, allocations: 0 / 363.1 MB, free: 8.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001959/0.09619, allocations: 16 kB / 363.1 MB, free: 8.574 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002808/0.09648, allocations: 144.7 kB / 363.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.948e-05/0.09656, allocations: 19.94 kB / 363.3 MB, free: 8.422 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.09657, allocations: 4.062 kB / 363.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.058e-05/0.09659, allocations: 3.984 kB / 363.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.09675, allocations: 12 kB / 363.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.09706, allocations: 195.3 kB / 363.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.09733, allocations: 0.6924 MB / 364.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.09737, allocations: 23.36 kB / 364.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09737, allocations: 0 / 364.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of Templates: time 0.003049/0.1004, allocations: 1.426 MB / 365.6 MB, free: 6.031 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches