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.001144/0.001144, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002644, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.002076/0.002076, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002038/0.004114, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.088/1.088, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1606/1.248, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1299/0.1299, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02319/0.1531, allocations: 12.31 MB / 266.1 MB, free: 3.871 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 1.683e-06/1.683e-06, allocations: 0 / 267.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.551e-05, allocations: 2.312 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001945/0.001971, allocations: 0.5479 MB / 267.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003219, allocations: 0.9353 MB / 268.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.003239, allocations: 0 / 268.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.19e-06/0.003245, allocations: 3.938 kB / 268.9 MB, free: 1.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.00333, allocations: 15.92 kB / 268.9 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.003881, allocations: 55.73 kB / 268.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.003945, allocations: 8 kB / 268.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.8e-05/0.003983, allocations: 0 / 268.9 MB, free: 1.012 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.893e-05/0.004031, allocations: 7.984 kB / 268.9 MB, free: 1.004 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.925e-05/0.004091, allocations: 7.875 kB / 268.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.0041, allocations: 0 / 268.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.004273, allocations: 55.89 kB / 269 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.004284, allocations: 0 / 269 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.004299, allocations: 4 kB / 269 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004467, allocations: 51.88 kB / 269.1 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.00448, allocations: 4 kB / 269.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.004482, allocations: 3.938 kB / 269.1 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.004492, allocations: 0 / 269.1 MB, free: 0.8789 MB / 266.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.0003478/0.004839, allocations: 266.3 kB / 269.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.004892, allocations: 8.031 kB / 269.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.00493, allocations: 0.9375 kB / 269.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.005034, allocations: 109.8 kB / 269.4 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.005048, allocations: 384 / 269.4 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.005059, allocations: 384 / 269.4 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.543e-05/0.005145, allocations: 55.97 kB / 269.5 MB, free: 388 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.005152, allocations: 4.188 kB / 269.5 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.005159, allocations: 384 / 269.5 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.005167, allocations: 4.359 kB / 269.5 MB, free: 380 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.005196, allocations: 33.64 kB / 269.5 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.789e-05/0.005284, allocations: 53.05 kB / 269.6 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.706e-05/0.005341, allocations: 56.23 kB / 269.6 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.005362, allocations: 34.62 kB / 269.7 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-06/0.005366, allocations: 0 / 269.7 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.005406, allocations: 56.27 kB / 269.7 MB, free: 84 kB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.005407, allocations: 0 / 269.7 MB, free: 84 kB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.005567, allocations: 122.7 kB / 269.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.005633, allocations: 154.2 kB / 270 MB, free: 15.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.005726, allocations: 102.7 kB / 270.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.005739, allocations: 25.7 kB / 270.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.005768, allocations: 80.14 kB / 270.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.00579, allocations: 3.953 kB / 270.2 MB, free: 15.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.005824, allocations: 21.7 kB / 270.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.005917, allocations: 314.8 kB / 270.5 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.005937, allocations: 29.7 kB / 270.6 MB, free: 15.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.005952, allocations: 29.95 kB / 270.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/0.00599, allocations: 60.27 kB / 270.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005992, allocations: 0 / 270.7 MB, free: 15.03 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.059e-05/0.006063, allocations: 97.03 kB / 270.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.006105, allocations: 29.7 kB / 270.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.006111, allocations: 0 / 270.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.006124, allocations: 3.938 kB / 270.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-06/0.006125, allocations: 0 / 270.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006128, allocations: 0 / 270.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.848e-05/0.006146, allocations: 4.094 kB / 270.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.006154, allocations: 4 kB / 270.8 MB, free: 14.87 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 7.302e-05/0.006227, allocations: 139.5 kB / 270.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.006235, allocations: 4 kB / 270.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.203e-05/0.006247, allocations: 3 kB / 270.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006248, allocations: 0 / 270.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.00625, allocations: 0 / 270.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.006253, allocations: 0 / 270.9 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.594e-05/0.006319, allocations: 77.77 kB / 271 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.00632, allocations: 0 / 271 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-06/0.006323, allocations: 3.984 kB / 271 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.006328, allocations: 4 kB / 271 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.006331, allocations: 4 kB / 271 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.006336, allocations: 0 / 271 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.006337, allocations: 0 / 271 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006338, allocations: 0 / 271 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.348e-05/0.006432, allocations: 116.4 kB / 271.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.006447, allocations: 4 kB / 271.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-06/0.006457, allocations: 0 / 271.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-06/0.006465, allocations: 0 / 271.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.006469, allocations: 0 / 271.1 MB, free: 14.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.225e-05/0.006481, allocations: 12.89 kB / 271.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006481, allocations: 0 / 271.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001987/0.00668, allocations: 19.92 kB / 271.2 MB, free: 14.43 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.0005302/0.00721, allocations: 223.2 kB / 271.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.007321, allocations: 119.6 kB / 271.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.007326, allocations: 4 kB / 271.5 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.007365, allocations: 85.97 kB / 271.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.433e-05/0.00744, allocations: 11.92 kB / 271.6 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.007618, allocations: 113.3 kB / 271.7 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.473e-05/0.007653, allocations: 55.34 kB / 271.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.945e-06/0.007661, allocations: 4.172 kB / 271.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.007707, allocations: 59.38 kB / 271.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.007708, allocations: 0 / 271.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of Templates: time 0.003123/0.01083, allocations: 0.7911 MB / 272.6 MB, free: 12.86 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.837753721512854]