Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001322/0.001322, allocations: 81.62 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 162 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 79.88 kB / 443.1 MB, free: 6.523 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3419, allocations: 66.06 MB / 0.4972 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001493/0.3434, allocations: 0.4948 MB / 0.4977 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3444, allocations: 0.8759 MB / 0.4986 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.3445, allocations: 3.062 kB / 0.4986 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.3445, allocations: 0 / 0.4986 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000206/0.3447, allocations: 3.125 kB / 0.4986 GB, free: 28.86 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:333:3-373:15:writable] Warning: Pure function 'ModelicaTest.Utilities.ReadFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006403/0.3453, allocations: 59.38 kB / 0.4986 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.3454, allocations: 3.125 kB / 0.4986 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.3454, allocations: 0 / 0.4986 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.3454, allocations: 4 kB / 0.4987 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.228e-05/0.3455, allocations: 7.047 kB / 0.4987 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.3455, allocations: 0 / 0.4987 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3456, allocations: 62.12 kB / 0.4987 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.3456, allocations: 0 / 0.4987 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.3456, allocations: 2.938 kB / 0.4987 GB, free: 28.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.3458, allocations: 48.48 kB / 0.4988 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3458, allocations: 0 / 0.4988 GB, free: 28.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3458, allocations: 0 / 0.4988 GB, free: 28.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3458, allocations: 0 / 0.4988 GB, free: 28.79 MB / 446.1 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.0002561/0.346, allocations: 280.8 kB / 0.499 GB, free: 28.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.3461, allocations: 13.69 kB / 0.499 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/0.3461, allocations: 0.9375 kB / 0.499 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.96e-05/0.3462, allocations: 110.5 kB / 0.4992 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3462, allocations: 3.625 kB / 0.4992 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3462, allocations: 384 / 0.4992 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.238e-05/0.3463, allocations: 58.59 kB / 0.4992 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3463, allocations: 192 / 0.4992 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.3463, allocations: 3.938 kB / 0.4992 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.3463, allocations: 0 / 0.4992 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.034e-05/0.3463, allocations: 33.14 kB / 0.4992 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.025e-05/0.3464, allocations: 97.33 kB / 0.4993 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.3464, allocations: 51.17 kB / 0.4994 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.3464, allocations: 33.69 kB / 0.4994 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.3464, allocations: 0 / 0.4994 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.3465, allocations: 64.19 kB / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.3465, allocations: 3.438 kB / 0.4995 GB, free: 27.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.3466, allocations: 124.6 kB / 0.4996 GB, free: 27.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.3466, allocations: 80.48 kB / 0.4997 GB, free: 27.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.3467, allocations: 89.86 kB / 0.4998 GB, free: 27.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.3467, allocations: 29.95 kB / 0.4998 GB, free: 27.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.083e-05/0.3467, allocations: 80.14 kB / 0.4999 GB, free: 27.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.3467, allocations: 2.75 kB / 0.4999 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.3467, allocations: 17.23 kB / 0.4999 GB, free: 27.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.919e-05/0.3468, allocations: 314.1 kB / 0.5002 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.3468, allocations: 25.7 kB / 0.5002 GB, free: 27.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/0.3468, allocations: 29.02 kB / 0.5002 GB, free: 27.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.3468, allocations: 59.36 kB / 0.5003 GB, free: 27.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3468, allocations: 7.938 kB / 0.5003 GB, free: 27.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.555e-05/0.3469, allocations: 95.19 kB / 0.5004 GB, free: 26.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3469, allocations: 32.02 kB / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3469, allocations: 0 / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3469, allocations: 3.938 kB / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3469, allocations: 3.25 kB / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3469, allocations: 0 / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.3469, allocations: 3.562 kB / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3469, allocations: 0 / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.442e-05/0.347, allocations: 134.7 kB / 0.5006 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.347, allocations: 0 / 0.5006 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-06/0.347, allocations: 6.062 kB / 0.5006 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.347, allocations: 7.938 kB / 0.5006 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.347, allocations: 0 / 0.5006 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.347, allocations: 0 / 0.5006 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.069e-05/0.3471, allocations: 108.2 kB / 0.5007 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3471, allocations: 0 / 0.5007 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.3471, allocations: 3.938 kB / 0.5007 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3471, allocations: 0 / 0.5007 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.3471, allocations: 0 / 0.5007 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.3471, allocations: 0 / 0.5007 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3471, allocations: 11.03 kB / 0.5007 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.56e-05/0.3471, allocations: 120.5 kB / 0.5008 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.3472, allocations: 7.891 kB / 0.5008 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.3472, allocations: 0 / 0.5008 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-06/0.3472, allocations: 3.375 kB / 0.5008 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.3472, allocations: 7.5 kB / 0.5008 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3472, allocations: 0 / 0.5008 GB, free: 26.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.593e-05/0.3472, allocations: 78.47 kB / 0.5009 GB, free: 26.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3472, allocations: 0 / 0.5009 GB, free: 26.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002032/0.3474, allocations: 16.91 kB / 0.5009 GB, free: 26.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003956/0.3478, allocations: 197.8 kB / 0.5011 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.3479, allocations: 117.4 kB / 0.5012 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3479, allocations: 0 / 0.5012 GB, free: 26.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.3479, allocations: 83.8 kB / 0.5013 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.3481, allocations: 7.312 kB / 0.5013 GB, free: 26.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001563/0.3482, allocations: 106.9 kB / 0.5014 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.75e-05/0.3482, allocations: 58.08 kB / 0.5015 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.5e-06/0.3482, allocations: 7.219 kB / 0.5015 GB, free: 25.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.035e-05/0.3483, allocations: 8.5 kB / 0.5015 GB, free: 25.8 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3483, allocations: 0 / 0.5015 GB, free: 25.8 MB / 446.1 MB Notification: Performance of Templates: time 0.002883/0.3511, allocations: 0.6524 MB / 0.5021 GB, free: 25.7 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestReadFile.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.873998748022132]