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.001386/0.001386, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001565/0.001565, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 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 0.9974/0.9974, allocations: 158.6 MB / 185.7 MB, free: 2.508 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.1461/0.1461, allocations: 32.37 MB / 270.4 MB, free: 14.56 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.054e-06/2.054e-06, allocations: 0 / 347.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.244e-05/3.449e-05, allocations: 6.25 kB / 347.6 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001832/0.001867, allocations: 0.5082 MB / 348.1 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.003015, allocations: 0.9076 MB / 349.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.111e-05/0.003046, allocations: 0 / 349.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.559e-05/0.003071, allocations: 0 / 349.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000274/0.003345, allocations: 4 kB / 349.1 MB, free: 8.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007116/0.004057, allocations: 73.3 kB / 349.1 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.75e-05/0.004124, allocations: 0 / 349.1 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.004158, allocations: 0 / 349.1 MB, free: 7.984 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.004192, allocations: 11.98 kB / 349.1 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.004282, allocations: 0 / 349.1 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.004291, allocations: 0 / 349.1 MB, free: 7.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.004425, allocations: 51.94 kB / 349.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.004435, allocations: 0 / 349.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.004457, allocations: 4 kB / 349.2 MB, free: 7.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.004647, allocations: 63.73 kB / 349.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.00465, allocations: 0 / 349.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004651, allocations: 4 kB / 349.3 MB, free: 7.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.004657, allocations: 0 / 349.3 MB, free: 7.852 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.0003105/0.004967, allocations: 385.9 kB / 349.6 MB, free: 7.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.00501, allocations: 8.031 kB / 349.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.005056, allocations: 0.9375 kB / 349.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.844e-05/0.005134, allocations: 108.6 kB / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.005147, allocations: 384 / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.005156, allocations: 384 / 349.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.317e-05/0.005239, allocations: 55.97 kB / 349.8 MB, free: 7.223 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.005248, allocations: 4.125 kB / 349.8 MB, free: 7.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.005257, allocations: 4.375 kB / 349.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.005265, allocations: 384 / 349.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.672e-05/0.005282, allocations: 33.62 kB / 349.9 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.508e-05/0.005377, allocations: 112.6 kB / 350 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.678e-05/0.005424, allocations: 52.8 kB / 350 MB, free: 6.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.00544, allocations: 33.39 kB / 350 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-06/0.005445, allocations: 0 / 350 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.005476, allocations: 63.16 kB / 350.1 MB, free: 6.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.005478, allocations: 0 / 350.1 MB, free: 6.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.000185/0.005663, allocations: 126.7 kB / 350.2 MB, free: 6.691 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.005693, allocations: 81.23 kB / 350.3 MB, free: 6.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.00575, allocations: 162.2 kB / 350.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.005756, allocations: 25.7 kB / 350.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.397e-05/0.00577, allocations: 130.9 kB / 350.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.005786, allocations: 3.953 kB / 350.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.005815, allocations: 23.38 kB / 350.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.00587, allocations: 492.1 kB / 351.1 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.005886, allocations: 29.64 kB / 351.2 MB, free: 5.691 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.525e-05/0.005902, allocations: 29.7 kB / 351.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.005936, allocations: 75.2 kB / 351.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005938, allocations: 0 / 351.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.797e-05/0.006006, allocations: 89.11 kB / 351.3 MB, free: 5.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.006032, allocations: 29.7 kB / 351.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.006036, allocations: 0 / 351.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.00605, allocations: 0 / 351.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-06/0.006055, allocations: 0 / 351.4 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.006061, allocations: 3.984 kB / 351.4 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.006078, allocations: 7.938 kB / 351.4 MB, free: 5.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.006085, allocations: 0 / 351.4 MB, free: 5.414 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 4.834e-05/0.006134, allocations: 182.3 kB / 351.6 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.006141, allocations: 4 kB / 351.6 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.133e-05/0.006153, allocations: 3 kB / 351.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.006154, allocations: 0 / 351.6 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.006159, allocations: 4 kB / 351.6 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.006162, allocations: 3.938 kB / 351.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.992e-05/0.006212, allocations: 116.6 kB / 351.7 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006213, allocations: 3.938 kB / 351.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.006214, allocations: 0 / 351.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.006216, allocations: 0 / 351.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.006223, allocations: 0 / 351.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.006224, allocations: 8 kB / 351.7 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006226, allocations: 0 / 351.7 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.269e-05/0.006309, allocations: 127.8 kB / 351.8 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-06/0.006315, allocations: 7.984 kB / 351.8 MB, free: 4.875 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.006332, allocations: 4 kB / 351.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-06/0.006341, allocations: 0 / 351.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.006353, allocations: 0 / 351.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.006356, allocations: 0 / 351.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.854e-05/0.006375, allocations: 123.2 kB / 352 MB, free: 4.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006375, allocations: 128 / 352 MB, free: 4.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002355/0.006611, allocations: 27.86 kB / 352 MB, free: 4.723 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.0004267/0.007037, allocations: 198.3 kB / 352.2 MB, free: 4.559 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.356e-05/0.007131, allocations: 134.4 kB / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.007132, allocations: 0 / 352.3 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.91e-05/0.007151, allocations: 88.8 kB / 352.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.0073, allocations: 6.5 kB / 352.4 MB, free: 4.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.007485, allocations: 119 kB / 352.5 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.501e-05/0.00751, allocations: 51.36 kB / 352.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.653e-06/0.007516, allocations: 0 / 352.6 MB, free: 4.062 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.253e-05/0.007529, allocations: 8.5 kB / 352.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.007529, allocations: 0 / 352.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of Templates: time 0.003206/0.01074, allocations: 0.7745 MB / 353.4 MB, free: 3.285 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.0525101590901613]