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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 109.7 kB / 18.33 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 184.5 kB / 21.5 MB, free: 0.8164 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.694/1.694, allocations: 207.6 MB / 232.1 MB, free: 3.156 MB / 174.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.3618/0.3618, allocations: 44.22 MB / 328.4 MB, free: 6.285 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 71.91 kB / 465.5 MB, free: 45.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1308, allocations: 61 MB / 0.5142 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001721/0.1325, allocations: 0.5048 MB / 0.5147 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1336, allocations: 0.8432 MB / 0.5155 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.1336, allocations: 0 / 0.5155 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.1337, allocations: 0 / 0.5155 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1339, allocations: 7 kB / 0.5155 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.1345, allocations: 57.89 kB / 0.5155 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.245e-05/0.1346, allocations: 6.625 kB / 0.5156 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.1346, allocations: 1.188 kB / 0.5156 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.185e-05/0.1347, allocations: 1.031 kB / 0.5156 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1348, allocations: 11.27 kB / 0.5156 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.1348, allocations: 0 / 0.5156 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.1349, allocations: 61.34 kB / 0.5156 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.1349, allocations: 0 / 0.5156 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.135, allocations: 1.156 kB / 0.5156 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.1351, allocations: 50.75 kB / 0.5157 GB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1351, allocations: 0 / 0.5157 GB, free: 11.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1351, allocations: 1.312 kB / 0.5157 GB, free: 11.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1351, allocations: 0 / 0.5157 GB, free: 11.46 MB / 382.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.0003514/0.1355, allocations: 356 kB / 0.516 GB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.1355, allocations: 18 kB / 0.516 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.1356, allocations: 4.938 kB / 0.516 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.813e-05/0.1357, allocations: 162.3 kB / 0.5162 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1357, allocations: 384 / 0.5162 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1357, allocations: 6.406 kB / 0.5162 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.284e-05/0.1358, allocations: 39.7 kB / 0.5162 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1358, allocations: 192 / 0.5162 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.1358, allocations: 3.938 kB / 0.5162 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1358, allocations: 1.594 kB / 0.5162 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.796e-05/0.1358, allocations: 1.719 kB / 0.5162 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001083/0.1359, allocations: 147.4 kB / 0.5164 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.819e-05/0.136, allocations: 15.98 kB / 0.5164 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.136, allocations: 13.91 kB / 0.5164 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-06/0.136, allocations: 0 / 0.5164 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.136, allocations: 61.33 kB / 0.5165 GB, free: 10.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.136, allocations: 0 / 0.5165 GB, free: 10.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001797/0.1362, allocations: 68.62 kB / 0.5165 GB, free: 10.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1362, allocations: 85.12 kB / 0.5166 GB, free: 10.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.1363, allocations: 95.27 kB / 0.5167 GB, free: 10.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.1363, allocations: 27.14 kB / 0.5167 GB, free: 10.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.38e-05/0.1363, allocations: 80.14 kB / 0.5168 GB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.1363, allocations: 0 / 0.5168 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.1363, allocations: 12.47 kB / 0.5168 GB, free: 10.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.66e-05/0.1364, allocations: 311.8 kB / 0.5171 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.1364, allocations: 5.344 kB / 0.5171 GB, free: 9.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-06/0.1364, allocations: 1.156 kB / 0.5171 GB, free: 9.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.1364, allocations: 74.88 kB / 0.5172 GB, free: 9.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.1364, allocations: 1.594 kB / 0.5172 GB, free: 9.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.741e-05/0.1365, allocations: 58.25 kB / 0.5173 GB, free: 9.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.1365, allocations: 31.23 kB / 0.5173 GB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1365, allocations: 3.938 kB / 0.5173 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.1366, allocations: 1.188 kB / 0.5173 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1366, allocations: 4.094 kB / 0.5173 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1366, allocations: 0 / 0.5173 GB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.1366, allocations: 5.234 kB / 0.5173 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1366, allocations: 1.375 kB / 0.5173 GB, free: 9.586 MB / 382.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 5.977e-05/0.1367, allocations: 136.9 kB / 0.5174 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.1367, allocations: 9.25 kB / 0.5174 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.246e-05/0.1367, allocations: 8.188 kB / 0.5174 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1367, allocations: 0 / 0.5174 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1367, allocations: 0 / 0.5174 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1367, allocations: 5.219 kB / 0.5175 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.205e-05/0.1367, allocations: 154.8 kB / 0.5176 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1367, allocations: 0 / 0.5176 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1367, allocations: 1.188 kB / 0.5176 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1367, allocations: 0 / 0.5176 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1368, allocations: 5.156 kB / 0.5176 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1368, allocations: 0 / 0.5176 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1368, allocations: 1.094 kB / 0.5176 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.878e-05/0.1368, allocations: 93.77 kB / 0.5177 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.1369, allocations: 78.27 kB / 0.5178 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.1369, allocations: 5.219 kB / 0.5178 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-06/0.1369, allocations: 3.938 kB / 0.5178 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.1369, allocations: 1.188 kB / 0.5178 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1369, allocations: 1.219 kB / 0.5178 GB, free: 9.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.848e-05/0.1369, allocations: 79.27 kB / 0.5179 GB, free: 8.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1369, allocations: 1.031 kB / 0.5179 GB, free: 8.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1372, allocations: 22.16 kB / 0.5179 GB, free: 8.918 MB / 382.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.0004169/0.1376, allocations: 189.9 kB / 0.5181 GB, free: 8.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.1377, allocations: 64.73 kB / 0.5181 GB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.1377, allocations: 4.062 kB / 0.5181 GB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.1378, allocations: 54.06 kB / 0.5182 GB, free: 8.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.1379, allocations: 6.844 kB / 0.5182 GB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001925/0.1381, allocations: 88.05 kB / 0.5183 GB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.1382, allocations: 0.6743 MB / 0.5189 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.561e-06/0.1382, allocations: 0 / 0.5189 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.172e-05/0.1382, allocations: 8.812 kB / 0.5189 GB, free: 7.824 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1382, allocations: 0 / 0.5189 GB, free: 7.824 MB / 382.1 MB Notification: Performance of Templates: time 0.003354/0.1416, allocations: 0.6522 MB / 0.5196 GB, free: 7.312 MB / 382.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.289207716472447]