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.001063/0.001063, allocations: 95.62 kB / 16.93 MB, free: 5.984 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.0009049/0.0009049, allocations: 180.8 kB / 17.82 MB, free: 5.652 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.501/1.501, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004665/0.0004666, allocations: 12 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 47.59 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009726/0.1257, allocations: 252.4 kB / 328.6 MB, free: 3.867 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002687/0.1284, allocations: 1.773 MB / 330.3 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.1285, allocations: 0 / 330.3 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00081/0.1293, allocations: 79.78 kB / 330.4 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.961e-05/0.1295, allocations: 31.91 kB / 330.4 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.1297, allocations: 35.94 kB / 330.5 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.1299, allocations: 39.89 kB / 330.5 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.281e-05/0.13, allocations: 4 kB / 330.5 MB, free: 1.887 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.1301, allocations: 27.91 kB / 330.5 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1302, allocations: 23.91 kB / 330.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.1303, allocations: 4 kB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1304, allocations: 15.94 kB / 330.6 MB, free: 1.816 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.1305, allocations: 43.89 kB / 330.6 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.1306, allocations: 33.64 kB / 330.7 MB, free: 1.734 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1309, allocations: 96.08 kB / 330.8 MB, free: 1.641 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1309, allocations: 0 / 330.8 MB, free: 1.641 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.21e-06/0.1309, allocations: 0 / 330.8 MB, free: 1.641 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1309, allocations: 4 kB / 330.8 MB, free: 1.637 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.0007977/0.1317, allocations: 460.3 kB / 331.2 MB, free: 1.133 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.1318, allocations: 12.03 kB / 331.2 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.1319, allocations: 11.84 kB / 331.2 MB, free: 1.109 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.1327, allocations: 379.7 kB / 331.6 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1327, allocations: 3.953 kB / 331.6 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1327, allocations: 3.984 kB / 331.6 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.1329, allocations: 73.98 kB / 331.7 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1329, allocations: 0 / 331.7 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1329, allocations: 0 / 331.7 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1329, allocations: 0 / 331.7 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.609e-05/0.133, allocations: 7.938 kB / 331.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.1334, allocations: 237.4 kB / 331.9 MB, free: 312 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.1335, allocations: 22.58 kB / 331.9 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1335, allocations: 3.953 kB / 332 MB, free: 276 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.957e-05/0.1336, allocations: 64.19 kB / 332 MB, free: 196 kB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.1336, allocations: 0 / 332 MB, free: 196 kB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.1338, allocations: 57.52 kB / 332.1 MB, free: 132 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1339, allocations: 154.2 kB / 332.2 MB, free: 15.94 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.1343, allocations: 315.7 kB / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1343, allocations: 25.83 kB / 332.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.1344, allocations: 116.1 kB / 332.7 MB, free: 15.47 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1345, allocations: 4 kB / 332.7 MB, free: 15.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.1345, allocations: 0 / 332.7 MB, free: 15.47 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1346, allocations: 322.8 kB / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.1346, allocations: 4 kB / 333 MB, free: 15.14 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.982e-05/0.1347, allocations: 40.28 kB / 333 MB, free: 15.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.1347, allocations: 16 kB / 333 MB, free: 15.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1347, allocations: 0 / 333 MB, free: 15.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.537e-05/0.1348, allocations: 53.5 kB / 333.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.1349, allocations: 7.953 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1349, allocations: 4 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1349, allocations: 0 / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.861e-05/0.1349, allocations: 0 / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.135, allocations: 0 / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1351, allocations: 15.94 kB / 333.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1351, allocations: 4 kB / 333.1 MB, free: 14.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.1352, allocations: 133.8 kB / 333.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.1353, allocations: 11.91 kB / 333.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/0.1353, allocations: 24.47 kB / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1353, allocations: 3.984 kB / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1353, allocations: 0 / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1354, allocations: 0 / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.1356, allocations: 197.6 kB / 333.5 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1356, allocations: 4 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.1356, allocations: 7.938 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1357, allocations: 0 / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1357, allocations: 0 / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1357, allocations: 3.953 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1357, allocations: 4 kB / 333.5 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.1358, allocations: 72.94 kB / 333.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.136, allocations: 124.8 kB / 333.7 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.136, allocations: 4.094 kB / 333.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.1361, allocations: 12 kB / 333.7 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.1361, allocations: 11.88 kB / 333.7 MB, free: 14.28 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1362, allocations: 0 / 333.7 MB, free: 14.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.1364, allocations: 249.4 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1364, allocations: 0 / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1367, allocations: 24 kB / 334 MB, free: 14.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004507/0.1371, allocations: 176.1 kB / 334.2 MB, free: 13.85 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.1372, allocations: 11.94 kB / 334.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1373, allocations: 0 / 334.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.14e-05/0.1373, allocations: 8.062 kB / 334.2 MB, free: 13.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.1374, allocations: 11.78 kB / 334.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1378, allocations: 238 kB / 334.4 MB, free: 13.55 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1381, allocations: 0.7165 MB / 335.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.51e-05/0.1382, allocations: 36.86 kB / 335.2 MB, free: 12.78 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.1383, allocations: 27.42 kB / 335.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1383, allocations: 0 / 335.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of Templates: time 0.004998/0.1433, allocations: 1.885 MB / 337.1 MB, free: 10.87 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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