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.001113/0.001113, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001193/0.001194, allocations: 190 kB / 18.07 MB, free: 5.414 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.002224/0.002224, allocations: 55.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1155, allocations: 46.61 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002041/0.1176, allocations: 0.5963 MB / 327.2 MB, free: 4.312 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002613/0.1202, allocations: 1.811 MB / 329 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1203, allocations: 0 / 329 MB, free: 2.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.122, allocations: 125.8 kB / 329.1 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.633e-05/0.1221, allocations: 27.91 kB / 329.1 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.1223, allocations: 47.89 kB / 329.2 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.804e-05/0.1224, allocations: 47.83 kB / 329.2 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.1224, allocations: 0 / 329.2 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.1225, allocations: 19.94 kB / 329.2 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.1226, allocations: 39.83 kB / 329.3 MB, free: 2.188 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1226, allocations: 4 kB / 329.3 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-05/0.1227, allocations: 23.98 kB / 329.3 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1229, allocations: 51.89 kB / 329.4 MB, free: 2.109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.647e-05/0.1229, allocations: 19.86 kB / 329.4 MB, free: 2.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1231, allocations: 55.81 kB / 329.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1231, allocations: 0 / 329.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1231, allocations: 0 / 329.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1231, allocations: 0 / 329.4 MB, free: 2.035 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.0005055/0.1236, allocations: 401.2 kB / 329.8 MB, free: 1.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1237, allocations: 12.03 kB / 329.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.1237, allocations: 12.78 kB / 329.9 MB, free: 1.566 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.1242, allocations: 312.1 kB / 330.2 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.1242, allocations: 4.375 kB / 330.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.1242, allocations: 384 / 330.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1244, allocations: 78.23 kB / 330.2 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1244, allocations: 4 kB / 330.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.1244, allocations: 0 / 330.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1244, allocations: 3.938 kB / 330.2 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.1245, allocations: 7.984 kB / 330.3 MB, free: 1.105 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.1248, allocations: 173.7 kB / 330.4 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.1249, allocations: 22.52 kB / 330.4 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.1249, allocations: 4.922 kB / 330.5 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.1249, allocations: 7.984 kB / 330.5 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.1249, allocations: 68.2 kB / 330.5 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/0.125, allocations: 0 / 330.5 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001546/0.1251, allocations: 45.55 kB / 330.6 MB, free: 0.707 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.1252, allocations: 158.2 kB / 330.7 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1254, allocations: 168.9 kB / 330.9 MB, free: 352 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.1254, allocations: 25.7 kB / 330.9 MB, free: 320 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.1254, allocations: 88.14 kB / 331 MB, free: 228 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1255, allocations: 19.97 kB / 331 MB, free: 208 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.1255, allocations: 17.7 kB / 331 MB, free: 184 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1257, allocations: 314.8 kB / 331.3 MB, free: 15.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.1257, allocations: 8 kB / 331.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.95e-05/0.1257, allocations: 44.28 kB / 331.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.1258, allocations: 16.91 kB / 331.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1258, allocations: 4 kB / 331.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.716e-05/0.1259, allocations: 53.48 kB / 331.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1259, allocations: 4 kB / 331.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1259, allocations: 3.938 kB / 331.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1259, allocations: 0 / 331.5 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.803e-05/0.1259, allocations: 4 kB / 331.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.126, allocations: 0 / 331.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.126, allocations: 7.984 kB / 331.5 MB, free: 15.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.126, allocations: 0 / 331.5 MB, free: 15.7 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 8.73e-05/0.1261, allocations: 129.9 kB / 331.6 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.1262, allocations: 19.86 kB / 331.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.499e-05/0.1262, allocations: 7.828 kB / 331.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1262, allocations: 0 / 331.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1262, allocations: 4 kB / 331.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1262, allocations: 0 / 331.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.1264, allocations: 169.7 kB / 331.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1264, allocations: 0 / 331.8 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.1264, allocations: 7.938 kB / 331.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1265, allocations: 4 kB / 331.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.1265, allocations: 3.984 kB / 331.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1265, allocations: 0 / 331.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1265, allocations: 0 / 331.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.1266, allocations: 73.06 kB / 331.9 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.1267, allocations: 92.92 kB / 332 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.1267, allocations: 0 / 332 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.1268, allocations: 4.094 kB / 332 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.1268, allocations: 7.984 kB / 332 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.1268, allocations: 0 / 332 MB, free: 15.09 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1269, allocations: 131.2 kB / 332.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1269, allocations: 0 / 332.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.1271, allocations: 16 kB / 332.1 MB, free: 14.94 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.0003736/0.1275, allocations: 170.8 kB / 332.3 MB, free: 14.77 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.513e-05/0.1276, allocations: 11.94 kB / 332.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.1276, allocations: 0 / 332.3 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.1276, allocations: 4 kB / 332.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.1278, allocations: 25.08 kB / 332.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.1282, allocations: 259.5 kB / 332.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1285, allocations: 0.7121 MB / 333.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.1286, allocations: 11.98 kB / 333.3 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.1286, allocations: 15.44 kB / 333.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1286, allocations: 0 / 333.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of Templates: time 0.004112/0.1327, allocations: 1.194 MB / 334.5 MB, free: 12.49 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