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.0009301/0.0009301, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009008/0.0009008, allocations: 161 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.9465/0.9465, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] 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 1.913e-06/1.913e-06, allocations: 3.938 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.525e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001376/0.001401, allocations: 0.5748 MB / 274 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.003512, allocations: 1.996 MB / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.003557, allocations: 0 / 276 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.005558, allocations: 252.2 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.971e-05/0.005628, allocations: 27.92 kB / 276.2 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.005823, allocations: 47.86 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.005929, allocations: 47.83 kB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.005971, allocations: 8 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.007276, allocations: 381.8 kB / 276.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.00735, allocations: 11.92 kB / 276.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.007367, allocations: 4 kB / 276.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.656e-05/0.007403, allocations: 4 kB / 276.7 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.125e-05/0.007455, allocations: 23.92 kB / 276.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.007482, allocations: 15.92 kB / 276.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.007691, allocations: 51.66 kB / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.007695, allocations: 0 / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007696, allocations: 0 / 276.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.0077, allocations: 0 / 276.8 MB, free: 13.97 MB / 266.7 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.0002778/0.007977, allocations: 333.9 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.008009, allocations: 11.98 kB / 277.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.008037, allocations: 8.922 kB / 277.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.008196, allocations: 174.4 kB / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-06/0.008202, allocations: 384 / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.008216, allocations: 384 / 277.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.059e-05/0.008287, allocations: 73.61 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.008292, allocations: 192 / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.008299, allocations: 4.375 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.008303, allocations: 3.938 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.163e-06/0.00831, allocations: 0 / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.008489, allocations: 69.03 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.769e-05/0.008517, allocations: 22.67 kB / 277.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.989e-06/0.008527, allocations: 12.8 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.008533, allocations: 0 / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.00856, allocations: 56.27 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.863e-06/0.008562, allocations: 3.984 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 9.34e-05/0.008655, allocations: 41.69 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.008685, allocations: 77.11 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.603e-05/0.008781, allocations: 176.5 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.00879, allocations: 29.7 kB / 277.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.00882, allocations: 92.23 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.008837, allocations: 7.953 kB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.008861, allocations: 17.7 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.008934, allocations: 338.6 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.008941, allocations: 4 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.00896, allocations: 35.42 kB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.706e-05/0.008977, allocations: 8.859 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.00898, allocations: 8 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.565e-05/0.009026, allocations: 41.69 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.009037, allocations: 4.125 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009042, allocations: 8 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.009051, allocations: 0 / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.45e-05/0.009076, allocations: 3.938 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.009079, allocations: 4 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.009093, allocations: 3.938 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.009098, allocations: 3.984 kB / 278.5 MB, free: 12.13 MB / 266.7 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 5.656e-05/0.009154, allocations: 116.7 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.009162, allocations: 4 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.009185, allocations: 16.48 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.009186, allocations: 0 / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.009188, allocations: 4 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.00919, allocations: 0 / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.009301, allocations: 93.8 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.009302, allocations: 0 / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.009316, allocations: 4 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.009317, allocations: 0 / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.009325, allocations: 0 / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.009326, allocations: 0 / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009326, allocations: 0 / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.904e-05/0.009405, allocations: 77 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.009428, allocations: 19.88 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.009437, allocations: 0 / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-06/0.009446, allocations: 0 / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-06/0.009455, allocations: 0 / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.009457, allocations: 0 / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.578e-05/0.009492, allocations: 54.06 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009492, allocations: 0 / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001038/0.009596, allocations: 4 kB / 278.8 MB, free: 11.7 MB / 266.7 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.0001884/0.009785, allocations: 106.4 kB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.456e-05/0.009839, allocations: 12.86 kB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.009843, allocations: 0 / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.009852, allocations: 16.8 kB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.265e-05/0.009925, allocations: 15.72 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.01016, allocations: 215.7 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.191e-05/0.0102, allocations: 67.33 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.937e-05/0.01022, allocations: 17.09 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.01028, allocations: 67.36 kB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01028, allocations: 0 / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.002353/0.01263, allocations: 0.6144 MB / 280 MB, free: 10.54 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6477916608564556]