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.001867/0.001867, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.001939/0.001939, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 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 1.543/1.543, allocations: 173.3 MB / 200.8 MB, free: 9.32 MB / 186.7 MB " [Timeout remaining time 178] 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.312e-06/1.312e-06, allocations: 0 / 267.3 MB, free: 6.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.02e-05/3.151e-05, allocations: 6.25 kB / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.001707/0.001738, allocations: 0.5181 MB / 267.8 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002916/0.004654, allocations: 1.916 MB / 269.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.588e-05/0.00469, allocations: 4 kB / 269.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.007596, allocations: 199.6 kB / 269.9 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.211e-05/0.007668, allocations: 23.91 kB / 269.9 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.00786, allocations: 51.86 kB / 270 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.007961, allocations: 43.84 kB / 270 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.82e-05/0.007989, allocations: 8 kB / 270 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.902e-05/0.008088, allocations: 39.83 kB / 270.1 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.69e-05/0.008185, allocations: 23.91 kB / 270.1 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.008206, allocations: 0 / 270.1 MB, free: 4.004 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.008266, allocations: 23.92 kB / 270.1 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.008358, allocations: 43.91 kB / 270.2 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.008408, allocations: 11.94 kB / 270.2 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.00862, allocations: 55.8 kB / 270.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.008623, allocations: 0 / 270.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.008625, allocations: 0 / 270.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.008629, allocations: 0 / 270.2 MB, free: 3.871 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.0005165/0.009146, allocations: 433.7 kB / 270.7 MB, free: 3.406 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.009177, allocations: 8.922 kB / 270.7 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.009218, allocations: 4.938 kB / 270.7 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.009434, allocations: 140.4 kB / 270.8 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.009442, allocations: 384 / 270.8 MB, free: 3.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.00946, allocations: 4.375 kB / 270.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.009668, allocations: 183.5 kB / 271 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.009676, allocations: 192 / 271 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.009686, allocations: 384 / 271 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.009692, allocations: 3.938 kB / 271 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.385e-05/0.009706, allocations: 11.94 kB / 271 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.009997, allocations: 136.6 kB / 271.1 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/0.01005, allocations: 23.06 kB / 271.2 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.01007, allocations: 7.688 kB / 271.2 MB, free: 2.766 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.01007, allocations: 4.062 kB / 271.2 MB, free: 2.762 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.01012, allocations: 63.09 kB / 271.2 MB, free: 2.684 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.01013, allocations: 0 / 271.2 MB, free: 2.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.01026, allocations: 41.59 kB / 271.3 MB, free: 2.637 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.01041, allocations: 166.1 kB / 271.4 MB, free: 2.438 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.01058, allocations: 198 kB / 271.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.01061, allocations: 25.7 kB / 271.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01071, allocations: 138.9 kB / 271.8 MB, free: 2.055 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.01073, allocations: 11.94 kB / 271.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.01078, allocations: 19.38 kB / 271.8 MB, free: 2.016 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002956/0.01107, allocations: 0.4923 MB / 272.3 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.01109, allocations: 4 kB / 272.3 MB, free: 1.508 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.01123, allocations: 153.2 kB / 272.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.01127, allocations: 19.62 kB / 272.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01127, allocations: 0 / 272.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.9e-05/0.01135, allocations: 49.75 kB / 272.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01136, allocations: 6.344 kB / 272.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.01136, allocations: 0 / 272.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.01138, allocations: 0 / 272.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.123e-05/0.01141, allocations: 4 kB / 272.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.01142, allocations: 3.938 kB / 272.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.0115, allocations: 15.83 kB / 272.6 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.0115, allocations: 0 / 272.6 MB, free: 1.207 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 0.000144/0.01165, allocations: 164.6 kB / 272.7 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.01167, allocations: 12.02 kB / 272.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.01169, allocations: 7.766 kB / 272.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.01169, allocations: 0 / 272.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.0117, allocations: 7.938 kB / 272.8 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.01171, allocations: 0 / 272.8 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.01191, allocations: 128.6 kB / 272.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.01191, allocations: 3.984 kB / 272.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.01194, allocations: 7.938 kB / 272.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.01194, allocations: 0 / 272.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.01195, allocations: 0 / 272.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.01195, allocations: 3.984 kB / 272.9 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01195, allocations: 4 kB / 272.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.01212, allocations: 88.33 kB / 273 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.01216, allocations: 11.98 kB / 273 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.01218, allocations: 4 kB / 273 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.01224, allocations: 0 / 273 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.01226, allocations: 7.984 kB / 273 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.01227, allocations: 3.938 kB / 273 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.01238, allocations: 147.2 kB / 273.2 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01238, allocations: 0 / 273.2 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001945/0.01258, allocations: 8 kB / 273.2 MB, free: 0.5391 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.0007167/0.0133, allocations: 190.4 kB / 273.4 MB, free: 400 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.1e-05/0.01339, allocations: 23.62 kB / 273.4 MB, free: 372 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01339, allocations: 0 / 273.4 MB, free: 372 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.01341, allocations: 7.688 kB / 273.4 MB, free: 360 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.01356, allocations: 15.98 kB / 273.4 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.01394, allocations: 229.9 kB / 273.6 MB, free: 84 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.01407, allocations: 96.78 kB / 273.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.417e-05/0.0141, allocations: 12.06 kB / 273.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.01413, allocations: 16.44 kB / 273.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01414, allocations: 0 / 273.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of Templates: time 0.004534/0.01867, allocations: 1.272 MB / 275 MB, free: 14.71 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Utilities.Examples.ReadRealMatrixFromFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.388805869035423]