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.0009285/0.0009285, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.0009652/0.0009652, allocations: 168.7 kB / 24.91 MB, free: 9.203 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.9222/0.9222, allocations: 177.1 MB / 205.3 MB, free: 5.148 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.392e-06/1.392e-06, allocations: 0 / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.403e-05, allocations: 2.312 kB / 273.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.004554/0.004578, allocations: 0.5836 MB / 274 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.006901, allocations: 1.989 MB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.006941, allocations: 0 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005129/0.01207, allocations: 243.8 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.01213, allocations: 27.97 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.01231, allocations: 47.8 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.829e-05/0.0124, allocations: 43.84 kB / 276.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.01244, allocations: 11.98 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.01694, allocations: 390.8 kB / 276.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.01701, allocations: 19.91 kB / 276.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.01703, allocations: 0 / 276.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.01706, allocations: 4 kB / 276.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.01711, allocations: 31.8 kB / 276.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.01713, allocations: 11.94 kB / 276.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.01734, allocations: 47.72 kB / 276.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01734, allocations: 0 / 276.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01734, allocations: 0 / 276.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.01734, allocations: 0 / 276.9 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.0002948/0.01764, allocations: 337.9 kB / 277.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.01767, allocations: 8.031 kB / 277.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.0177, allocations: 4.938 kB / 277.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.01787, allocations: 174.4 kB / 277.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-06/0.01787, allocations: 384 / 277.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.01789, allocations: 384 / 277.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.587e-05/0.01795, allocations: 69.67 kB / 277.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-06/0.01796, allocations: 192 / 277.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.01796, allocations: 4.375 kB / 277.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.01797, allocations: 7.875 kB / 277.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-06/0.01798, allocations: 4 kB / 277.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.01816, allocations: 69.03 kB / 277.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.414e-05/0.01818, allocations: 14.58 kB / 277.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-06/0.01819, allocations: 8.953 kB / 277.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-06/0.0182, allocations: 0 / 277.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.01823, allocations: 64.2 kB / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 6.52e-07/0.01823, allocations: 0 / 277.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 8.245e-05/0.01831, allocations: 41.62 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.01834, allocations: 81.23 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.01845, allocations: 176.6 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.01846, allocations: 25.7 kB / 278 MB, free: 12.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.382e-05/0.01849, allocations: 100.1 kB / 278.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.01851, allocations: 7.938 kB / 278.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.01853, allocations: 13.72 kB / 278.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.01861, allocations: 330.7 kB / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.851e-06/0.01862, allocations: 0 / 278.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.01864, allocations: 39.42 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.039e-05/0.01866, allocations: 12.8 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01866, allocations: 4.094 kB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.474e-05/0.01871, allocations: 41.69 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.01872, allocations: 4 kB / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.01872, allocations: 0 / 278.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.01873, allocations: 7.984 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.092e-05/0.01876, allocations: 0 / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-06/0.01876, allocations: 0 / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.01878, allocations: 11.94 kB / 278.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.01878, allocations: 0 / 278.5 MB, free: 12.14 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.371e-05/0.01883, allocations: 108.7 kB / 278.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-06/0.01884, allocations: 16.02 kB / 278.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.01886, allocations: 12.5 kB / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.01886, allocations: 0 / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01887, allocations: 0 / 278.7 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.01887, allocations: 3.938 kB / 278.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.02201, allocations: 97.78 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.02201, allocations: 0 / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.02203, allocations: 8 kB / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.02203, allocations: 0 / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.02204, allocations: 0 / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02204, allocations: 4 kB / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02204, allocations: 0 / 278.8 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/0.02213, allocations: 69.05 kB / 278.8 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.02215, allocations: 19.84 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.02217, allocations: 3.984 kB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.191e-05/0.02218, allocations: 0 / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-06/0.02219, allocations: 0 / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.02219, allocations: 0 / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.737e-05/0.02224, allocations: 62.03 kB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02224, allocations: 0 / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001412/0.02238, allocations: 12 kB / 278.9 MB, free: 11.68 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.0001908/0.02257, allocations: 109.5 kB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.896e-05/0.02262, allocations: 8.859 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.02262, allocations: 0 / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/0.02263, allocations: 8.859 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.474e-05/0.0227, allocations: 19.72 kB / 279.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002616/0.02296, allocations: 215.8 kB / 279.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.606e-05/0.023, allocations: 67.33 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.492e-05/0.02303, allocations: 12.97 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.0231, allocations: 71.34 kB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0231, allocations: 0 / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of Templates: time 0.002532/0.02563, allocations: 0.6037 MB / 280 MB, free: 10.54 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 -s gbode -gbm=radauIIA3 -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.4581610448658466]