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.0009332/0.0009332, allocations: 96.2 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 201.6 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002221/0.0002221, allocations: 4 kB / 307.7 MB, free: 0.8633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.08683, allocations: 51.53 MB / 359.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0005225/0.08739, allocations: 250 kB / 359.5 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.08932, allocations: 1.837 MB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.08936, allocations: 0 / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.09163, allocations: 126.3 kB / 361.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.096e-05/0.09171, allocations: 27.91 kB / 361.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.09188, allocations: 51.44 kB / 361.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.978e-05/0.09197, allocations: 47.78 kB / 361.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.09201, allocations: 4 kB / 361.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.911e-05/0.09206, allocations: 23.91 kB / 361.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.09215, allocations: 23.92 kB / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.09218, allocations: 0 / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.959e-05/0.09223, allocations: 15.98 kB / 361.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.09232, allocations: 59.81 kB / 361.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.945e-05/0.09238, allocations: 45.58 kB / 361.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.09249, allocations: 51.81 kB / 361.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.0925, allocations: 0 / 361.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09251, allocations: 0 / 361.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.09252, allocations: 0 / 361.8 MB, free: 10.79 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.0003605/0.09288, allocations: 397.2 kB / 362.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.09292, allocations: 8.031 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.09297, allocations: 8.938 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.09321, allocations: 208.2 kB / 362.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.09323, allocations: 8.375 kB / 362.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.09325, allocations: 384 / 362.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.09337, allocations: 74.23 kB / 362.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.09338, allocations: 0 / 362.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.0934, allocations: 4 kB / 362.5 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.09341, allocations: 3.984 kB / 362.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.817e-05/0.09343, allocations: 8 kB / 362.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.09372, allocations: 177.6 kB / 362.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.09377, allocations: 26.52 kB / 362.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.485e-05/0.09379, allocations: 4.859 kB / 362.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.0938, allocations: 0 / 362.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.09384, allocations: 64.27 kB / 362.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.09385, allocations: 4 kB / 362.8 MB, free: 9.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.09397, allocations: 49.59 kB / 362.8 MB, free: 9.574 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.09405, allocations: 154.2 kB / 363 MB, free: 9.387 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.0942, allocations: 164.4 kB / 363.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.09423, allocations: 29.64 kB / 363.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.09428, allocations: 96.12 kB / 363.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.0943, allocations: 0 / 363.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.09433, allocations: 13.72 kB / 363.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.09443, allocations: 326.9 kB / 363.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.401e-05/0.09445, allocations: 4 kB / 363.6 MB, free: 8.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.872e-05/0.0945, allocations: 44.28 kB / 363.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.686e-05/0.09454, allocations: 8.859 kB / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.09454, allocations: 0 / 363.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.72e-05/0.09462, allocations: 53.59 kB / 363.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.09465, allocations: 14.38 kB / 363.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.09466, allocations: 0 / 363.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.09467, allocations: 0 / 363.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.905e-05/0.09471, allocations: 7.938 kB / 363.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.09472, allocations: 0 / 363.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.09479, allocations: 7.938 kB / 363.7 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.09481, allocations: 0 / 363.7 MB, free: 8.574 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 8.5e-05/0.0949, allocations: 133.8 kB / 363.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.09492, allocations: 11.84 kB / 363.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.09495, allocations: 11.83 kB / 363.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.09496, allocations: 0 / 363.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.09496, allocations: 0 / 363.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.09497, allocations: 4 kB / 363.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.09514, allocations: 173.6 kB / 364 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.09516, allocations: 0 / 364 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.09519, allocations: 4 kB / 364 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.0952, allocations: 3.938 kB / 364 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.09521, allocations: 3.938 kB / 364 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.09522, allocations: 0 / 364 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.09522, allocations: 0 / 364 MB, free: 8.172 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.09534, allocations: 80.97 kB / 364.1 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.0954, allocations: 96.97 kB / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.09543, allocations: 0 / 364.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.0955, allocations: 4 kB / 364.2 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.051e-05/0.09552, allocations: 7.984 kB / 364.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.09552, allocations: 0 / 364.2 MB, free: 7.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.824e-05/0.09563, allocations: 133.9 kB / 364.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.09563, allocations: 4 kB / 364.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.09585, allocations: 12 kB / 364.4 MB, free: 7.805 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.0002579/0.09611, allocations: 138.8 kB / 364.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.502e-05/0.09619, allocations: 8 kB / 364.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.0962, allocations: 0 / 364.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.09622, allocations: 8 kB / 364.5 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.09638, allocations: 14.22 kB / 364.5 MB, free: 7.648 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003493/0.09674, allocations: 273 kB / 364.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.09698, allocations: 0.7082 MB / 365.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.09703, allocations: 11.94 kB / 365.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.09706, allocations: 11.44 kB / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of SimCode: time 1.573e-06/0.09706, allocations: 0 / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of Templates: time 0.003622/0.1007, allocations: 1.104 MB / 366.6 MB, free: 5.508 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches