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.0009808/0.0009808, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0009023/0.0009023, allocations: 138.1 kB / 24.97 MB, free: 8.359 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.9989/0.9989, allocations: 173.4 MB / 201.5 MB, free: 9.312 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.563e-06/1.563e-06, allocations: 0 / 268 MB, free: 6.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.872e-05, allocations: 2.312 kB / 268 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.002038/0.002067, allocations: 0.5374 MB / 268.6 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.004554, allocations: 1.931 MB / 270.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.004616, allocations: 0 / 270.5 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002198/0.006813, allocations: 207.5 kB / 270.7 MB, free: 4.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.371e-05/0.006867, allocations: 27.91 kB / 270.7 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.007025, allocations: 39.94 kB / 270.8 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.007117, allocations: 51.83 kB / 270.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.007154, allocations: 3.938 kB / 270.8 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.007252, allocations: 35.91 kB / 270.9 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.007347, allocations: 23.91 kB / 270.9 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.007368, allocations: 4 kB / 270.9 MB, free: 3.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.79e-05/0.007426, allocations: 19.92 kB / 270.9 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.007523, allocations: 51.89 kB / 271 MB, free: 3.875 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.89e-05/0.007562, allocations: 4 kB / 271 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.007819, allocations: 59.8 kB / 271 MB, free: 3.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.007825, allocations: 0 / 271 MB, free: 3.812 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.007827, allocations: 0 / 271 MB, free: 3.812 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.007833, allocations: 0 / 271 MB, free: 3.812 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.0004307/0.008263, allocations: 429.9 kB / 271.4 MB, free: 3.352 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.008303, allocations: 8.922 kB / 271.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.008358, allocations: 20.89 kB / 271.5 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.008531, allocations: 128.6 kB / 271.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.008541, allocations: 384 / 271.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.008565, allocations: 4.375 kB / 271.6 MB, free: 3.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.008726, allocations: 183.5 kB / 271.8 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.008734, allocations: 192 / 271.8 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.008746, allocations: 4.312 kB / 271.8 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.008755, allocations: 3.938 kB / 271.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.089e-05/0.008766, allocations: 0 / 271.8 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002936/0.009059, allocations: 136.6 kB / 271.9 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.53e-05/0.009105, allocations: 31.06 kB / 272 MB, free: 2.719 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.725e-05/0.009122, allocations: 7.688 kB / 272 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.009129, allocations: 3.938 kB / 272 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.009176, allocations: 63.16 kB / 272 MB, free: 2.625 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.009177, allocations: 0 / 272 MB, free: 2.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.009321, allocations: 49.58 kB / 272.1 MB, free: 2.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.009396, allocations: 158.2 kB / 272.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.009537, allocations: 194.7 kB / 272.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.009552, allocations: 25.7 kB / 272.4 MB, free: 2.141 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.009612, allocations: 143 kB / 272.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.009634, allocations: 11.89 kB / 272.6 MB, free: 1.984 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.009673, allocations: 27.38 kB / 272.6 MB, free: 1.949 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.009804, allocations: 0.4884 MB / 273.1 MB, free: 1.449 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.009816, allocations: 4 kB / 273.1 MB, free: 1.445 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.009899, allocations: 149.2 kB / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.009936, allocations: 19.62 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.009938, allocations: 0 / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.811e-05/0.01002, allocations: 41.66 kB / 273.3 MB, free: 1.184 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.01003, allocations: 8 kB / 273.3 MB, free: 1.176 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.01004, allocations: 4.094 kB / 273.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.01006, allocations: 0 / 273.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.464e-05/0.01009, allocations: 0 / 273.3 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.0101, allocations: 7.938 kB / 273.3 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.139e-05/0.01016, allocations: 3.984 kB / 273.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.01017, allocations: 3.984 kB / 273.4 MB, free: 1.156 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 8.11e-05/0.01025, allocations: 160.6 kB / 273.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.01026, allocations: 7.938 kB / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.01029, allocations: 7.812 kB / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01029, allocations: 0 / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.0103, allocations: 7.938 kB / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.0103, allocations: 0 / 273.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.01044, allocations: 140.6 kB / 273.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.01044, allocations: 0 / 273.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.01046, allocations: 0 / 273.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01046, allocations: 0 / 273.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01047, allocations: 0 / 273.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01047, allocations: 4 kB / 273.7 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01048, allocations: 4 kB / 273.7 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.926e-05/0.01057, allocations: 88.31 kB / 273.8 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.0106, allocations: 12.02 kB / 273.8 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.01061, allocations: 3.984 kB / 273.8 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.01064, allocations: 4 kB / 273.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.01066, allocations: 48 / 273.8 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.01066, allocations: 11.86 kB / 273.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.289e-05/0.01071, allocations: 145.8 kB / 273.9 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01071, allocations: 0 / 273.9 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000144/0.01086, allocations: 19.98 kB / 274 MB, free: 496 kB / 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.0003112/0.01117, allocations: 164.4 kB / 274.1 MB, free: 360 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.423e-05/0.01125, allocations: 19.67 kB / 274.1 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.01126, allocations: 4.062 kB / 274.1 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.347e-06/0.01127, allocations: 11.69 kB / 274.1 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.01142, allocations: 8 kB / 274.2 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.01173, allocations: 229.9 kB / 274.4 MB, free: 48 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.318e-05/0.01179, allocations: 75.25 kB / 274.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.553e-05/0.01183, allocations: 11.98 kB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.01186, allocations: 20.44 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01186, allocations: 0 / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of Templates: time 0.003261/0.01512, allocations: 1.279 MB / 275.8 MB, free: 14.69 MB / 266.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.8029364191461354]