Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000984/0.000984, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9527/0.9527, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 273.4 MB, free: 1.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086e-05/1.2e-05, allocations: 2.312 kB / 273.4 MB, free: 1.336 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0009253/0.0009373, allocations: 0.5312 MB / 273.9 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.002445, allocations: 1.992 MB / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.002483, allocations: 0 / 275.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.0042, allocations: 254.7 kB / 276.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.004248, allocations: 23.86 kB / 276.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.004384, allocations: 51.86 kB / 276.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.004466, allocations: 43.83 kB / 276.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.069e-05/0.004496, allocations: 8 kB / 276.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.005658, allocations: 387.5 kB / 276.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.742e-05/0.005715, allocations: 15.92 kB / 276.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.005728, allocations: 0 / 276.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.848e-05/0.005757, allocations: 4 kB / 276.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.005805, allocations: 35.91 kB / 276.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.005827, allocations: 7.938 kB / 276.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.005984, allocations: 51.66 kB / 276.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.005985, allocations: 0 / 276.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.005986, allocations: 0 / 276.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.005989, allocations: 0 / 276.8 MB, free: 14.18 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.0002821/0.006271, allocations: 334 kB / 277.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.0063, allocations: 8.031 kB / 277.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.006327, allocations: 8.938 kB / 277.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.006479, allocations: 166.4 kB / 277.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.006487, allocations: 8.375 kB / 277.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.006506, allocations: 4.375 kB / 277.3 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.9e-05/0.006575, allocations: 73.61 kB / 277.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.006581, allocations: 192 / 277.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-06/0.006586, allocations: 384 / 277.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.006592, allocations: 3.938 kB / 277.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.162e-06/0.006598, allocations: 0 / 277.4 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.006769, allocations: 69.03 kB / 277.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.705e-05/0.006796, allocations: 18.61 kB / 277.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.156e-06/0.006805, allocations: 8.859 kB / 277.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.006811, allocations: 3.938 kB / 277.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.006842, allocations: 64.33 kB / 277.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.006843, allocations: 0 / 277.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 7.255e-05/0.006916, allocations: 37.69 kB / 277.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.006945, allocations: 77.11 kB / 277.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.007033, allocations: 176.5 kB / 277.8 MB, free: 12.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.007041, allocations: 25.7 kB / 277.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.00707, allocations: 92.11 kB / 278 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.007088, allocations: 11.95 kB / 278 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.007113, allocations: 25.81 kB / 278 MB, free: 12.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.007185, allocations: 322.8 kB / 278.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.007191, allocations: 4 kB / 278.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.921e-05/0.00721, allocations: 43.36 kB / 278.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.57e-05/0.007226, allocations: 8.859 kB / 278.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.007228, allocations: 4 kB / 278.4 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.515e-05/0.007263, allocations: 37.69 kB / 278.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.007273, allocations: 8 kB / 278.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.007276, allocations: 0 / 278.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.007286, allocations: 4.125 kB / 278.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-05/0.007305, allocations: 4 kB / 278.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.007308, allocations: 3.984 kB / 278.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.00732, allocations: 11.81 kB / 278.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.007329, allocations: 0 / 278.4 MB, free: 12.35 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.304e-05/0.007382, allocations: 120.7 kB / 278.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.007388, allocations: 4 kB / 278.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.908e-05/0.007407, allocations: 12.48 kB / 278.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.42e-07/0.007408, allocations: 0 / 278.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.007409, allocations: 0 / 278.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.007411, allocations: 4 kB / 278.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.539e-05/0.007507, allocations: 93.8 kB / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.007507, allocations: 4 kB / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.00752, allocations: 4 kB / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.02e-07/0.00752, allocations: 0 / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.007527, allocations: 0 / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.007528, allocations: 0 / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.007528, allocations: 0 / 278.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.493e-05/0.007593, allocations: 73 kB / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.007614, allocations: 19.88 kB / 278.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-06/0.007622, allocations: 4.062 kB / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-06/0.00763, allocations: 0 / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-06/0.00764, allocations: 3.984 kB / 278.8 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.007642, allocations: 4 kB / 278.8 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.362e-05/0.007676, allocations: 50.06 kB / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007676, allocations: 0 / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.221e-05/0.007768, allocations: 8 kB / 278.8 MB, free: 11.91 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.0001547/0.007923, allocations: 108.9 kB / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.253e-05/0.007965, allocations: 8.859 kB / 278.9 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.007969, allocations: 4 kB / 279 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.007973, allocations: 4.859 kB / 279 MB, free: 11.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.574e-05/0.008029, allocations: 15.94 kB / 279 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.008249, allocations: 219.6 kB / 279.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.095e-05/0.00828, allocations: 67.33 kB / 279.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.696e-05/0.008307, allocations: 17.09 kB / 279.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.008356, allocations: 67.36 kB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008356, allocations: 0 / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Templates: time 0.002007/0.01036, allocations: 0.6103 MB / 279.9 MB, free: 10.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.662048096768558]