Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 147 kB / 25.6 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9093/0.9093, allocations: 173.4 MB / 202.3 MB, free: 8.25 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") translateModel(Modelica.Utilities.Examples.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.627e-05, allocations: 4.25 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001045/0.001061, allocations: 0.532 MB / 269.7 MB, free: 9.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.002643, allocations: 1.94 MB / 271.6 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.002686, allocations: 0 / 271.6 MB, free: 7.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.004444, allocations: 205.5 kB / 271.8 MB, free: 7.191 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.004494, allocations: 27.97 kB / 271.9 MB, free: 7.164 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.004651, allocations: 44.8 kB / 271.9 MB, free: 7.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.382e-05/0.004735, allocations: 48.59 kB / 272 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.42e-05/0.004769, allocations: 0.6875 kB / 272 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009565/0.005726, allocations: 308.9 kB / 272.3 MB, free: 6.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.935e-05/0.005815, allocations: 23.91 kB / 272.3 MB, free: 6.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.005833, allocations: 1.656 kB / 272.3 MB, free: 6.879 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.955e-05/0.005883, allocations: 23.92 kB / 272.3 MB, free: 6.855 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.005946, allocations: 27.92 kB / 272.3 MB, free: 6.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.005975, allocations: 15.91 kB / 272.4 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.006178, allocations: 67.69 kB / 272.4 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.006181, allocations: 0.8125 kB / 272.4 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.006182, allocations: 0 / 272.4 MB, free: 6.746 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.006186, allocations: 0.9375 kB / 272.4 MB, free: 6.746 MB / 250.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.0003343/0.00652, allocations: 457.6 kB / 272.9 MB, free: 6.258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.00655, allocations: 12.66 kB / 272.9 MB, free: 6.246 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.006584, allocations: 16.84 kB / 272.9 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.00674, allocations: 158.2 kB / 273 MB, free: 6.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-06/0.006748, allocations: 384 / 273.1 MB, free: 6.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.006764, allocations: 4.875 kB / 273.1 MB, free: 6.043 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.006843, allocations: 83.28 kB / 273.1 MB, free: 5.941 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.006849, allocations: 4.172 kB / 273.1 MB, free: 5.938 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-06/0.006856, allocations: 384 / 273.1 MB, free: 5.938 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.006862, allocations: 3.938 kB / 273.1 MB, free: 5.934 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-06/0.006869, allocations: 0 / 273.1 MB, free: 5.934 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.007074, allocations: 121.2 kB / 273.3 MB, free: 5.789 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.463e-05/0.007109, allocations: 27.06 kB / 273.3 MB, free: 5.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.033e-05/0.007119, allocations: 7.688 kB / 273.3 MB, free: 5.738 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.007124, allocations: 0 / 273.3 MB, free: 5.738 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.007158, allocations: 67.09 kB / 273.4 MB, free: 5.656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.007158, allocations: 4 kB / 273.4 MB, free: 5.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001383/0.007297, allocations: 41.64 kB / 273.4 MB, free: 5.605 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.007326, allocations: 77.11 kB / 273.5 MB, free: 5.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.007437, allocations: 243.2 kB / 273.7 MB, free: 5.258 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.007448, allocations: 25.7 kB / 273.7 MB, free: 5.227 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.0075, allocations: 158.8 kB / 273.9 MB, free: 5.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.00752, allocations: 7.938 kB / 273.9 MB, free: 5.059 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.007545, allocations: 19.38 kB / 273.9 MB, free: 5.031 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.007724, allocations: 0.5001 MB / 274.4 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-06/0.007732, allocations: 0 / 274.4 MB, free: 4.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.007763, allocations: 57.12 kB / 274.5 MB, free: 4.449 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.159e-05/0.007784, allocations: 11.69 kB / 274.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.007786, allocations: 0 / 274.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.227e-05/0.007838, allocations: 49.59 kB / 274.5 MB, free: 4.379 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.007848, allocations: 4 kB / 274.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.007852, allocations: 0 / 274.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.366e-06/0.00786, allocations: 0 / 274.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.726e-05/0.007888, allocations: 4 kB / 274.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.00789, allocations: 0 / 274.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.244e-05/0.007912, allocations: 12.06 kB / 274.6 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.007916, allocations: 0 / 274.6 MB, free: 4.359 MB / 250.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 6.212e-05/0.007978, allocations: 160.5 kB / 274.7 MB, free: 4.191 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.007994, allocations: 15.91 kB / 274.7 MB, free: 4.176 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.008017, allocations: 16.45 kB / 274.8 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.008019, allocations: 0 / 274.8 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.00802, allocations: 0 / 274.8 MB, free: 4.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.008023, allocations: 3.938 kB / 274.8 MB, free: 4.156 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.008138, allocations: 125.2 kB / 274.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.00814, allocations: 4 kB / 274.9 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.008153, allocations: 4 kB / 274.9 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.008154, allocations: 0 / 274.9 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.008161, allocations: 0 / 274.9 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.008162, allocations: 0 / 274.9 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.008164, allocations: 4 kB / 274.9 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.026e-05/0.008254, allocations: 88.28 kB / 275 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.008274, allocations: 7.953 kB / 275 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.008284, allocations: 3.938 kB / 275 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.008297, allocations: 4 kB / 275 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.008309, allocations: 7.984 kB / 275 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.008311, allocations: 4.062 kB / 275 MB, free: 3.859 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.019e-05/0.008371, allocations: 169 kB / 275.2 MB, free: 3.695 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008371, allocations: 0 / 275.2 MB, free: 3.695 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001339/0.008505, allocations: 8 kB / 275.2 MB, free: 3.688 MB / 250.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.0002941/0.008799, allocations: 172.1 kB / 275.3 MB, free: 3.543 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.782e-05/0.008867, allocations: 15.62 kB / 275.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008868, allocations: 0 / 275.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.645e-06/0.008876, allocations: 15.62 kB / 275.4 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.00899, allocations: 12 kB / 275.4 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.009234, allocations: 223.4 kB / 275.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.009268, allocations: 71.33 kB / 275.7 MB, free: 3.156 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.996e-05/0.009298, allocations: 8.484 kB / 275.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.009372, allocations: 98.16 kB / 275.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009372, allocations: 0 / 275.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of Templates: time 0.002876/0.01225, allocations: 1.016 MB / 276.8 MB, free: 2.062 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; mkfifo Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe >> ../files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.sim & ./Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7635074201971292]