Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009638/0.0009638, allocations: 99.95 kB / 17.3 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 179 kB / 18.21 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005025, allocations: 12 kB / 281.4 MB, free: 3.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 47.6 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0006853/0.1092, allocations: 256.3 kB / 329.2 MB, free: 3.523 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.1115, allocations: 1.807 MB / 331 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.1115, allocations: 0 / 331 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.1132, allocations: 113.9 kB / 331.1 MB, free: 1.594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.546e-05/0.1133, allocations: 31.84 kB / 331.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.1135, allocations: 47.94 kB / 331.2 MB, free: 1.516 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.1136, allocations: 39.91 kB / 331.2 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.1136, allocations: 0 / 331.2 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.906e-05/0.1137, allocations: 35.84 kB / 331.3 MB, free: 1.441 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1138, allocations: 31.86 kB / 331.3 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1138, allocations: 3.938 kB / 331.3 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.817e-05/0.1139, allocations: 19.97 kB / 331.3 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.114, allocations: 51.95 kB / 331.4 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.784e-05/0.1141, allocations: 41.58 kB / 331.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1142, allocations: 67.73 kB / 331.5 MB, free: 1.223 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1142, allocations: 0 / 331.5 MB, free: 1.223 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.1143, allocations: 3.984 kB / 331.5 MB, free: 1.219 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1143, allocations: 0 / 331.5 MB, free: 1.219 MB / 270.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.0004371/0.1147, allocations: 381.3 kB / 331.9 MB, free: 0.793 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1148, allocations: 8.031 kB / 331.9 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.1148, allocations: 12.83 kB / 331.9 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.1153, allocations: 312.1 kB / 332.2 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1153, allocations: 384 / 332.2 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.1153, allocations: 384 / 332.2 MB, free: 440 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.1155, allocations: 82.23 kB / 332.3 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1155, allocations: 0 / 332.3 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1155, allocations: 0 / 332.3 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1155, allocations: 0 / 332.3 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.1155, allocations: 7.938 kB / 332.3 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.1158, allocations: 177.6 kB / 332.5 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.958e-05/0.1159, allocations: 26.58 kB / 332.5 MB, free: 64 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.1159, allocations: 12.91 kB / 332.5 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.1159, allocations: 4 kB / 332.5 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/0.116, allocations: 64.19 kB / 332.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.116, allocations: 0 / 332.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.1162, allocations: 45.64 kB / 332.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/0.1162, allocations: 154.2 kB / 332.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.1164, allocations: 165.8 kB / 332.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1164, allocations: 25.7 kB / 332.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.1165, allocations: 96.27 kB / 333 MB, free: 15.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.1165, allocations: 15.83 kB / 333.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.1166, allocations: 9.719 kB / 333.1 MB, free: 15.39 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.1167, allocations: 318.8 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.1167, allocations: 4 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.1167, allocations: 44.28 kB / 333.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.4e-05/0.1168, allocations: 16.86 kB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1168, allocations: 0 / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.157e-05/0.1169, allocations: 57.53 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1169, allocations: 6.812 kB / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.1169, allocations: 0 / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1169, allocations: 0 / 333.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.678e-05/0.1169, allocations: 4 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1169, allocations: 3.938 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.123e-05/0.117, allocations: 4 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.117, allocations: 4 kB / 333.5 MB, free: 14.91 MB / 286.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.74e-05/0.1171, allocations: 129.9 kB / 333.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/0.1172, allocations: 11.84 kB / 333.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.396e-05/0.1172, allocations: 11.83 kB / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.1172, allocations: 0 / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1172, allocations: 0 / 333.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1172, allocations: 7.922 kB / 333.7 MB, free: 14.74 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.1174, allocations: 173.6 kB / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1174, allocations: 0 / 333.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.1174, allocations: 11.94 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1174, allocations: 4 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1175, allocations: 0 / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1175, allocations: 0 / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1175, allocations: 0 / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.1176, allocations: 69.03 kB / 333.9 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.1177, allocations: 93.06 kB / 334 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1177, allocations: 4 kB / 334 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.1178, allocations: 8.078 kB / 334 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.1178, allocations: 0 / 334 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.1178, allocations: 4 kB / 334 MB, free: 14.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1179, allocations: 131.2 kB / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1179, allocations: 0 / 334.2 MB, free: 14.17 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002076/0.1181, allocations: 20 kB / 334.2 MB, free: 14.15 MB / 286.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.0003495/0.1185, allocations: 175.1 kB / 334.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.304e-05/0.1186, allocations: 8 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.1186, allocations: 4 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.506e-06/0.1186, allocations: 64 / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.1188, allocations: 19.98 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.1191, allocations: 269 kB / 334.6 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1194, allocations: 0.7121 MB / 335.4 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.723e-05/0.1195, allocations: 8 kB / 335.4 MB, free: 12.9 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.1195, allocations: 15.42 kB / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1195, allocations: 0 / 335.4 MB, free: 12.88 MB / 286.1 MB Notification: Performance of Templates: time 0.003728/0.1232, allocations: 1.19 MB / 336.6 MB, free: 11.69 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/ReadRealMatrixFromFile/ReadRealMatrixFromFile.csv","../files/Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches