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.0008139/0.000814, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009007/0.0009008, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002334/0.0002335, allocations: 8 kB / 308.4 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08843/0.08868, allocations: 51.53 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.000564/0.08928, allocations: 253 kB / 360.1 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.09146, allocations: 1.822 MB / 362 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.954e-05/0.09152, allocations: 0 / 362 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002798/0.09432, allocations: 147.7 kB / 362.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.336e-05/0.0944, allocations: 27.91 kB / 362.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.09459, allocations: 35.95 kB / 362.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.09468, allocations: 55.77 kB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.23e-05/0.09472, allocations: 4 kB / 362.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.09477, allocations: 15.92 kB / 362.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.291e-05/0.09486, allocations: 27.91 kB / 362.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.09489, allocations: 8 kB / 362.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-05/0.09495, allocations: 15.98 kB / 362.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.09505, allocations: 55.83 kB / 362.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.567e-05/0.09512, allocations: 45.56 kB / 362.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.216e-05/0.09521, allocations: 35.94 kB / 362.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.09522, allocations: 4 kB / 362.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.09523, allocations: 0 / 362.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.09524, allocations: 3.938 kB / 362.4 MB, free: 10.75 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.0003838/0.09563, allocations: 385.2 kB / 362.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.09568, allocations: 16.03 kB / 362.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.09572, allocations: 4.938 kB / 362.8 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.09597, allocations: 212.1 kB / 363 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.09599, allocations: 384 / 363 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.09601, allocations: 384 / 363 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.09612, allocations: 74.23 kB / 363.1 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-06/0.09613, allocations: 4 kB / 363.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.09615, allocations: 4 kB / 363.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.09617, allocations: 3.938 kB / 363.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.582e-05/0.09619, allocations: 0 / 363.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.09648, allocations: 177.7 kB / 363.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.09653, allocations: 18.56 kB / 363.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.09656, allocations: 16.86 kB / 363.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.09657, allocations: 0 / 363.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.09662, allocations: 68.2 kB / 363.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.09662, allocations: 0 / 363.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.09675, allocations: 45.59 kB / 363.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.09684, allocations: 158.2 kB / 363.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.09701, allocations: 168.5 kB / 363.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.09703, allocations: 25.7 kB / 363.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.09708, allocations: 96.12 kB / 363.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.09711, allocations: 4.125 kB / 363.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.09714, allocations: 9.719 kB / 363.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.09725, allocations: 318.8 kB / 364.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.09727, allocations: 7.922 kB / 364.2 MB, free: 8.699 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/0.09732, allocations: 40.3 kB / 364.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.09736, allocations: 16.91 kB / 364.3 MB, free: 8.625 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.09737, allocations: 4 kB / 364.3 MB, free: 8.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.127e-05/0.09744, allocations: 45.61 kB / 364.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.09747, allocations: 7.938 kB / 364.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.09748, allocations: 4 kB / 364.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.09749, allocations: 0 / 364.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.941e-05/0.09753, allocations: 3.938 kB / 364.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.09754, allocations: 4 kB / 364.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.09761, allocations: 7.922 kB / 364.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.09762, allocations: 0 / 364.4 MB, free: 8.543 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 9.371e-05/0.09772, allocations: 137.7 kB / 364.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.09775, allocations: 15.84 kB / 364.5 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.09778, allocations: 11.83 kB / 364.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.09779, allocations: 0 / 364.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.09779, allocations: 0 / 364.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.0978, allocations: 0 / 364.5 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.098, allocations: 177.6 kB / 364.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.09801, allocations: 0 / 364.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.09805, allocations: 3.984 kB / 364.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.09806, allocations: 7.938 kB / 364.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.09807, allocations: 4 kB / 364.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.09808, allocations: 0 / 364.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.09808, allocations: 0 / 364.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.09821, allocations: 76.97 kB / 364.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.09828, allocations: 96.91 kB / 364.9 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.09831, allocations: 4 kB / 364.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.878e-05/0.09837, allocations: 48 / 364.9 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.09839, allocations: 8.078 kB / 364.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.0984, allocations: 0 / 364.9 MB, free: 7.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.09851, allocations: 137.5 kB / 365 MB, free: 7.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.09852, allocations: 0 / 365 MB, free: 7.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002002/0.09873, allocations: 16 kB / 365 MB, free: 7.762 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.0002798/0.09901, allocations: 138.4 kB / 365.2 MB, free: 7.637 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.182e-05/0.09909, allocations: 11.98 kB / 365.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.0991, allocations: 0 / 365.2 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.09912, allocations: 4 kB / 365.2 MB, free: 7.621 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.09927, allocations: 8 kB / 365.2 MB, free: 7.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.09958, allocations: 206.6 kB / 365.4 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.09984, allocations: 0.6887 MB / 366.1 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.09989, allocations: 19.42 kB / 366.1 MB, free: 6.637 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.09989, allocations: 0 / 366.1 MB, free: 6.637 MB / 302.1 MB Notification: Performance of Templates: time 0.003154/0.1031, allocations: 1.405 MB / 367.5 MB, free: 5.25 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