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.001079/0.001079, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 61.45 kB / 306.4 MB, free: 0.9727 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09464/0.09662, allocations: 50.54 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001626/0.09828, allocations: 0.583 MB / 357.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1003, allocations: 1.837 MB / 359.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.1004, allocations: 0 / 359.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.111, allocations: 151.1 kB / 359.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.1111, allocations: 27.91 kB / 359.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.1113, allocations: 43.94 kB / 359.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.834e-05/0.1113, allocations: 51.78 kB / 359.6 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.059e-05/0.1114, allocations: 11.92 kB / 359.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.1114, allocations: 15.94 kB / 359.7 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.1115, allocations: 31.89 kB / 359.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1115, allocations: 0 / 359.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.662e-05/0.1116, allocations: 12 kB / 359.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.1117, allocations: 59.81 kB / 359.8 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.1117, allocations: 23.88 kB / 359.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.1118, allocations: 51.81 kB / 359.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1118, allocations: 0 / 359.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1119, allocations: 0 / 359.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1119, allocations: 0 / 359.8 MB, free: 11.55 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.0003643/0.1122, allocations: 397.1 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1123, allocations: 8.031 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1123, allocations: 8.844 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1125, allocations: 212.2 kB / 360.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.368e-06/0.1125, allocations: 384 / 360.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1126, allocations: 8.281 kB / 360.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.1127, allocations: 78.23 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-06/0.1127, allocations: 0 / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1127, allocations: 0 / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1127, allocations: 0 / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.718e-05/0.1127, allocations: 4 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.113, allocations: 185.7 kB / 360.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.187e-05/0.113, allocations: 22.52 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.1131, allocations: 4.859 kB / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.413e-06/0.1131, allocations: 8 kB / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.1131, allocations: 64.2 kB / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1131, allocations: 0 / 360.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001134/0.1132, allocations: 45.69 kB / 360.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.1133, allocations: 154.2 kB / 361 MB, free: 10.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1135, allocations: 164.4 kB / 361.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1135, allocations: 33.7 kB / 361.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.1135, allocations: 92.12 kB / 361.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.1136, allocations: 7.906 kB / 361.3 MB, free: 9.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.1136, allocations: 13.72 kB / 361.3 MB, free: 9.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.1137, allocations: 322.8 kB / 361.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.1137, allocations: 4.125 kB / 361.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.501e-05/0.1138, allocations: 48.22 kB / 361.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.658e-05/0.1138, allocations: 12.86 kB / 361.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1138, allocations: 0 / 361.7 MB, free: 9.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.932e-05/0.1139, allocations: 49.64 kB / 361.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1139, allocations: 8.031 kB / 361.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1139, allocations: 11.92 kB / 361.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1139, allocations: 0 / 361.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.88e-05/0.114, allocations: 4 kB / 361.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.114, allocations: 3.938 kB / 361.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.114, allocations: 7.938 kB / 361.8 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.1141, allocations: 0 / 361.8 MB, free: 9.324 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.558e-05/0.1141, allocations: 133.8 kB / 361.9 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.1142, allocations: 11.84 kB / 361.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.1142, allocations: 11.83 kB / 361.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.1142, allocations: 4 kB / 361.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1142, allocations: 3.984 kB / 362 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1142, allocations: 0 / 362 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1144, allocations: 173.7 kB / 362.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1144, allocations: 0 / 362.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.402e-05/0.1144, allocations: 0 / 362.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1144, allocations: 3.938 kB / 362.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1144, allocations: 0 / 362.1 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1145, allocations: 7.938 kB / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1145, allocations: 0 / 362.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.1146, allocations: 76.97 kB / 362.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.1146, allocations: 89.06 kB / 362.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1146, allocations: 4 kB / 362.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.926e-05/0.1147, allocations: 0 / 362.3 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.1147, allocations: 4 kB / 362.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1147, allocations: 4 kB / 362.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.814e-05/0.1148, allocations: 135.2 kB / 362.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1148, allocations: 4.094 kB / 362.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001931/0.115, allocations: 16 kB / 362.5 MB, free: 8.555 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.0002498/0.1153, allocations: 137.6 kB / 362.6 MB, free: 8.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.16e-05/0.1154, allocations: 11.98 kB / 362.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1154, allocations: 0 / 362.6 MB, free: 8.418 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.1154, allocations: 4 kB / 362.6 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.0001416/0.1155, allocations: 8 kB / 362.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.1159, allocations: 285.6 kB / 362.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1161, allocations: 0.708 MB / 363.6 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.413e-05/0.1162, allocations: 11.94 kB / 363.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.178e-05/0.1162, allocations: 11.44 kB / 363.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1162, allocations: 0 / 363.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of Templates: time 0.003252/0.1195, allocations: 1.145 MB / 364.8 MB, free: 6.223 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