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.001541/0.001541, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.001608/0.001608, allocations: 217 kB / 22.99 MB, free: 4.977 MB / 14.72 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.658/1.658, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.2362/0.2362, allocations: 44.28 MB / 330.4 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 69.56 kB / 468 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1296, allocations: 61.05 MB / 0.5166 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001888/0.1314, allocations: 494.8 kB / 0.5171 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1329, allocations: 0.878 MB / 0.518 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.1329, allocations: 0 / 0.518 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.133, allocations: 0 / 0.518 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.1332, allocations: 3.938 kB / 0.518 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.1339, allocations: 51.88 kB / 0.518 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.96e-05/0.1339, allocations: 15.88 kB / 0.518 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.134, allocations: 0 / 0.518 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.134, allocations: 7.984 kB / 0.518 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.134, allocations: 0 / 0.518 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1341, allocations: 0 / 0.518 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1342, allocations: 51.94 kB / 0.5181 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.1342, allocations: 4 kB / 0.5181 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.1342, allocations: 4 kB / 0.5181 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.1344, allocations: 51.81 kB / 0.5181 GB, free: 5.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1344, allocations: 0 / 0.5181 GB, free: 5.145 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1344, allocations: 0 / 0.5181 GB, free: 5.145 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.1344, allocations: 4 kB / 0.5181 GB, free: 5.141 MB / 398.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.0004467/0.1349, allocations: 287.9 kB / 0.5184 GB, free: 4.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1349, allocations: 8.031 kB / 0.5184 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.135, allocations: 0.9375 kB / 0.5184 GB, free: 4.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1351, allocations: 106.5 kB / 0.5185 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1351, allocations: 4.375 kB / 0.5185 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-06/0.1351, allocations: 384 / 0.5185 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.1352, allocations: 67.84 kB / 0.5186 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1353, allocations: 192 / 0.5186 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.1353, allocations: 7.922 kB / 0.5186 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.1353, allocations: 0 / 0.5186 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.1353, allocations: 29.7 kB / 0.5186 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1355, allocations: 97.33 kB / 0.5187 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.385e-05/0.1355, allocations: 48.31 kB / 0.5188 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.1356, allocations: 30.56 kB / 0.5188 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.1356, allocations: 7.938 kB / 0.5188 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.1356, allocations: 64.31 kB / 0.5189 GB, free: 4.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.1356, allocations: 0 / 0.5189 GB, free: 4.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002426/0.1359, allocations: 114.8 kB / 0.519 GB, free: 4.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.1359, allocations: 81.11 kB / 0.5191 GB, free: 4.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.136, allocations: 97.84 kB / 0.5191 GB, free: 3.906 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1361, allocations: 25.7 kB / 0.5192 GB, free: 3.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.1361, allocations: 80.14 kB / 0.5192 GB, free: 3.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.1361, allocations: 3.938 kB / 0.5193 GB, free: 3.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.1361, allocations: 13.97 kB / 0.5193 GB, free: 3.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1363, allocations: 318.8 kB / 0.5196 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.1363, allocations: 25.7 kB / 0.5196 GB, free: 3.418 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.1363, allocations: 33.64 kB / 0.5196 GB, free: 3.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.755e-05/0.1364, allocations: 64.25 kB / 0.5197 GB, free: 3.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1364, allocations: 0 / 0.5197 GB, free: 3.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.824e-05/0.1365, allocations: 89.11 kB / 0.5198 GB, free: 3.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.1365, allocations: 30.64 kB / 0.5198 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1365, allocations: 0 / 0.5198 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1366, allocations: 3.938 kB / 0.5198 GB, free: 3.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-06/0.1366, allocations: 12.08 kB / 0.5198 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1366, allocations: 4 kB / 0.5198 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.1366, allocations: 0 / 0.5198 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.1366, allocations: 0 / 0.5198 GB, free: 3.141 MB / 398.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 0.0001036/0.1367, allocations: 135.5 kB / 0.5199 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.1367, allocations: 0 / 0.5199 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-06/0.1367, allocations: 6.938 kB / 0.52 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1367, allocations: 3.938 kB / 0.52 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1367, allocations: 0 / 0.52 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1367, allocations: 0 / 0.52 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.852e-05/0.1368, allocations: 109.3 kB / 0.5201 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1368, allocations: 3.984 kB / 0.5201 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.1368, allocations: 0 / 0.5201 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1368, allocations: 0 / 0.5201 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1368, allocations: 0 / 0.5201 GB, free: 2.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1368, allocations: 3.938 kB / 0.5201 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1368, allocations: 11.92 kB / 0.5201 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.137, allocations: 120.5 kB / 0.5202 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-06/0.137, allocations: 0 / 0.5202 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.137, allocations: 0 / 0.5202 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.137, allocations: 4 kB / 0.5202 GB, free: 2.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.137, allocations: 7.969 kB / 0.5202 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.137, allocations: 0 / 0.5202 GB, free: 2.668 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.404e-05/0.1371, allocations: 75.28 kB / 0.5203 GB, free: 2.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1371, allocations: 0 / 0.5203 GB, free: 2.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1373, allocations: 31.8 kB / 0.5203 GB, free: 2.562 MB / 398.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.0004833/0.1378, allocations: 191 kB / 0.5205 GB, free: 2.383 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.1379, allocations: 110.8 kB / 0.5206 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1379, allocations: 0 / 0.5206 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.658e-05/0.138, allocations: 81.11 kB / 0.5207 GB, free: 2.152 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.1381, allocations: 10.12 kB / 0.5207 GB, free: 2.145 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.1384, allocations: 114.5 kB / 0.5208 GB, free: 2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.981e-05/0.1384, allocations: 55.48 kB / 0.5208 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.32e-06/0.1384, allocations: 4 kB / 0.5209 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.1384, allocations: 7.438 kB / 0.5209 GB, free: 1.914 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1384, allocations: 0 / 0.5209 GB, free: 1.914 MB / 398.1 MB Notification: Performance of Templates: time 0.003516/0.142, allocations: 0.6536 MB / 0.5215 GB, free: 1.262 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.2331156469881535]