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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001962/0.001962, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002261/0.002261, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.633/1.633, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.89 kB / 373.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1024, allocations: 53.31 MB / 427.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001738/0.1041, allocations: 0.5236 MB / 427.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.1066, allocations: 1.865 MB / 429.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.1066, allocations: 0 / 429.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.1091, allocations: 167.9 kB / 429.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.064e-05/0.1091, allocations: 27.97 kB / 429.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.1093, allocations: 47.86 kB / 429.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.919e-05/0.1094, allocations: 39.84 kB / 429.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1094, allocations: 8 kB / 429.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.549e-05/0.1095, allocations: 35.84 kB / 429.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.833e-05/0.1096, allocations: 23.91 kB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1096, allocations: 0 / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.1097, allocations: 16 kB / 429.9 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.031e-05/0.1098, allocations: 43.91 kB / 429.9 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.1098, allocations: 19.86 kB / 429.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.11, allocations: 51.75 kB / 430 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.11, allocations: 4 kB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.11, allocations: 0 / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.11, allocations: 3.938 kB / 430 MB, free: 1.695 MB / 350.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.0004906/0.1105, allocations: 392.8 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1106, allocations: 8.031 kB / 430.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.1106, allocations: 12.89 kB / 430.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.1108, allocations: 200.2 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1108, allocations: 384 / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1109, allocations: 384 / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.111, allocations: 74.3 kB / 430.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.111, allocations: 0 / 430.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.111, allocations: 4 kB / 430.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.111, allocations: 0 / 430.7 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.544e-05/0.1111, allocations: 11.92 kB / 430.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.1114, allocations: 173.7 kB / 430.9 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.002e-05/0.1114, allocations: 22.55 kB / 430.9 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.1115, allocations: 8.922 kB / 430.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.1115, allocations: 3.938 kB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.1115, allocations: 64.2 kB / 430.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1115, allocations: 0 / 430.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.1117, allocations: 53.58 kB / 431 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.1118, allocations: 158.2 kB / 431.2 MB, free: 308 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1119, allocations: 152.7 kB / 431.3 MB, free: 144 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1119, allocations: 25.7 kB / 431.3 MB, free: 112 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.112, allocations: 92.14 kB / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.112, allocations: 0 / 431.4 MB, free: 16 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.1121, allocations: 33.84 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1122, allocations: 314.8 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.1122, allocations: 4 kB / 431.8 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.281e-05/0.1123, allocations: 40.28 kB / 431.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.1123, allocations: 16.8 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1123, allocations: 4.062 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.558e-05/0.1124, allocations: 45.69 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1124, allocations: 11.94 kB / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1124, allocations: 0 / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1124, allocations: 0 / 431.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.923e-05/0.1125, allocations: 4 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1125, allocations: 0 / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.1126, allocations: 3.984 kB / 431.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1126, allocations: 4 kB / 431.9 MB, free: 15.5 MB / 366.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 0.0001063/0.1127, allocations: 121.9 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1127, allocations: 15.89 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.1127, allocations: 11.86 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.1128, allocations: 0 / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1128, allocations: 3.938 kB / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1128, allocations: 0 / 432 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.113, allocations: 173.7 kB / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.113, allocations: 0 / 432.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.113, allocations: 7.938 kB / 432.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.113, allocations: 3.938 kB / 432.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.113, allocations: 8 kB / 432.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.113, allocations: 0 / 432.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.113, allocations: 0 / 432.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.1132, allocations: 77.02 kB / 432.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/0.1132, allocations: 93.02 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1132, allocations: 0 / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.1133, allocations: 4 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.1133, allocations: 96 / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1133, allocations: 4 kB / 432.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.847e-05/0.1134, allocations: 122 kB / 432.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1134, allocations: 0 / 432.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.1136, allocations: 11.94 kB / 432.5 MB, free: 14.76 MB / 366.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.0003565/0.114, allocations: 144 kB / 432.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.622e-05/0.1141, allocations: 15.94 kB / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1141, allocations: 0 / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.1141, allocations: 7.984 kB / 432.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.1142, allocations: 8 kB / 432.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.1146, allocations: 245.8 kB / 432.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.115, allocations: 0.7119 MB / 433.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.176e-05/0.115, allocations: 11.98 kB / 433.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.1151, allocations: 11.44 kB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1151, allocations: 0 / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of Templates: time 0.004092/0.1191, allocations: 1.027 MB / 434.7 MB, free: 12.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.620711460709572]