Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.00116/0.00116, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001154/0.001154, allocations: 169.3 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.201/1.201, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.196/0.196, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 299 MB, free: 2.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.068e-05, allocations: 2.312 kB / 299 MB, free: 2.238 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.002102/0.002132, allocations: 0.5052 MB / 299.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.003712, allocations: 0.9118 MB / 300.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.003742, allocations: 0 / 300.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.003758, allocations: 0 / 300.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.004012, allocations: 7.984 kB / 300.5 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007708/0.004782, allocations: 63.64 kB / 300.5 MB, free: 0.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.004857, allocations: 8 kB / 300.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.004915, allocations: 7.969 kB / 300.5 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.004957, allocations: 0 / 300.5 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.00501, allocations: 4 kB / 300.5 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.00502, allocations: 0 / 300.5 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.005179, allocations: 51.95 kB / 300.6 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.005191, allocations: 0 / 300.6 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.093e-05/0.005212, allocations: 0 / 300.6 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.005424, allocations: 67.73 kB / 300.7 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.005428, allocations: 0 / 300.7 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.005429, allocations: 0 / 300.7 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.005435, allocations: 4 kB / 300.7 MB, free: 0.6094 MB / 282.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.0003557/0.00579, allocations: 254.3 kB / 300.9 MB, free: 336 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.005834, allocations: 8.031 kB / 300.9 MB, free: 328 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.005868, allocations: 4.938 kB / 300.9 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.00598, allocations: 105.8 kB / 301 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.005994, allocations: 4.359 kB / 301 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.006007, allocations: 4.375 kB / 301 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.006108, allocations: 55.91 kB / 301.1 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.006119, allocations: 192 / 301.1 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.006129, allocations: 4.375 kB / 301.1 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.006136, allocations: 4.375 kB / 301.1 MB, free: 108 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.006159, allocations: 29.64 kB / 301.1 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001062/0.006266, allocations: 57.05 kB / 301.2 MB, free: 0 / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2265/0.2328, allocations: 41.53 kB / 301.2 MB, free: 19.53 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.2328, allocations: 36.05 kB / 301.3 MB, free: 19.49 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.2328, allocations: 0 / 301.3 MB, free: 19.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.2329, allocations: 59.88 kB / 301.3 MB, free: 19.42 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 2.866e-06/0.2329, allocations: 0.9688 kB / 301.3 MB, free: 19.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001704/0.233, allocations: 112.8 kB / 301.4 MB, free: 19.29 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.2331, allocations: 81.34 kB / 301.5 MB, free: 19.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/0.2331, allocations: 99.62 kB / 301.6 MB, free: 19.09 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.762e-06/0.2331, allocations: 26.48 kB / 301.6 MB, free: 19.06 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.382e-05/0.2332, allocations: 82.72 kB / 301.7 MB, free: 18.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.2332, allocations: 1.547 kB / 301.7 MB, free: 18.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.2332, allocations: 17.14 kB / 301.7 MB, free: 18.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.2333, allocations: 319.8 kB / 302 MB, free: 18.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.2333, allocations: 27.75 kB / 302.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.2333, allocations: 29.3 kB / 302.1 MB, free: 18.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.2333, allocations: 64.81 kB / 302.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2333, allocations: 0 / 302.2 MB, free: 18.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.572e-05/0.2334, allocations: 86.06 kB / 302.2 MB, free: 18.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.2334, allocations: 33.88 kB / 302.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.2334, allocations: 1.859 kB / 302.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2335, allocations: 1.938 kB / 302.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-06/0.2335, allocations: 0.7969 kB / 302.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.2335, allocations: 4.75 kB / 302.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.2335, allocations: 0.6875 kB / 302.3 MB, free: 18.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.2335, allocations: 1.875 kB / 302.3 MB, free: 18.39 MB / 282.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: 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 5.523e-05/0.2335, allocations: 139.8 kB / 302.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-06/0.2336, allocations: 3.5 kB / 302.4 MB, free: 18.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766e-05/0.2336, allocations: 4.781 kB / 302.4 MB, free: 18.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.2336, allocations: 1.578 kB / 302.4 MB, free: 18.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2336, allocations: 1.75 kB / 302.4 MB, free: 18.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2336, allocations: 0 / 302.4 MB, free: 18.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.383e-05/0.2336, allocations: 64.16 kB / 302.5 MB, free: 18.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2336, allocations: 5.516 kB / 302.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.2336, allocations: 1.031 kB / 302.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.2336, allocations: 0 / 302.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.2336, allocations: 5.188 kB / 302.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.2336, allocations: 2.516 kB / 302.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2336, allocations: 2.438 kB / 302.5 MB, free: 18.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.751e-05/0.2337, allocations: 114.4 kB / 302.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.2337, allocations: 8.516 kB / 302.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.2337, allocations: 0 / 302.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.2338, allocations: 4.297 kB / 302.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.293e-05/0.2338, allocations: 1.312 kB / 302.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2338, allocations: 0 / 302.6 MB, free: 18.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.064e-05/0.2338, allocations: 6.609 kB / 302.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2338, allocations: 0 / 302.6 MB, free: 18.03 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001514/0.2339, allocations: 19.67 kB / 302.7 MB, free: 18.03 MB / 282.7 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.0004944/0.2344, allocations: 209 kB / 302.9 MB, free: 17.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.2345, allocations: 116.8 kB / 303 MB, free: 17.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.2345, allocations: 0 / 303 MB, free: 17.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.987e-05/0.2346, allocations: 90.31 kB / 303.1 MB, free: 17.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.403e-05/0.2346, allocations: 6.125 kB / 303.1 MB, free: 17.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000197/0.2348, allocations: 116.5 kB / 303.2 MB, free: 17.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.163e-05/0.2348, allocations: 53.69 kB / 303.2 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.201e-06/0.2349, allocations: 0 / 303.2 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.2349, allocations: 53.61 kB / 303.3 MB, free: 17.47 MB / 282.7 MB Notification: Performance of SimCode: time 1.452e-06/0.2349, allocations: 0.5938 kB / 303.3 MB, free: 17.47 MB / 282.7 MB Notification: Performance of Templates: time 0.003545/0.2384, allocations: 0.7749 MB / 304.1 MB, free: 17.4 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.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: 3.4674963443540037]