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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 97.09 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3812/0.3812, allocations: 43.49 MB / 360.7 MB, free: 51.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001049, allocations: 43.92 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1316, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001693/0.1333, allocations: 0.5425 MB / 487.5 MB, free: 12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1344, allocations: 0.7672 MB / 488.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.427e-05/0.1344, allocations: 4 kB / 488.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1344, allocations: 0 / 488.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.1346, allocations: 11.97 kB / 488.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.1352, allocations: 39.91 kB / 488.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.486e-05/0.1352, allocations: 0 / 488.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.937e-05/0.1353, allocations: 7.984 kB / 488.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.1353, allocations: 0 / 488.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.1354, allocations: 11.88 kB / 488.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.1354, allocations: 0 / 488.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1355, allocations: 51.95 kB / 488.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.265e-06/0.1355, allocations: 4 kB / 488.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.1355, allocations: 7.984 kB / 488.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.1357, allocations: 43.94 kB / 488.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1357, allocations: 0 / 488.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1357, allocations: 0 / 488.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.1357, allocations: 0 / 488.5 MB, free: 11.05 MB / 378.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.000361/0.136, allocations: 361.2 kB / 488.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1361, allocations: 8.031 kB / 488.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.1361, allocations: 4.938 kB / 488.9 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.1362, allocations: 160.4 kB / 489 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1363, allocations: 4.375 kB / 489 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.1363, allocations: 384 / 489 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.135e-05/0.1364, allocations: 34.2 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1364, allocations: 192 / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.1364, allocations: 3.938 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1364, allocations: 3.984 kB / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.373e-05/0.1364, allocations: 0 / 489.1 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001224/0.1365, allocations: 150.9 kB / 489.2 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.254e-05/0.1366, allocations: 18.58 kB / 489.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.1366, allocations: 8.953 kB / 489.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-06/0.1366, allocations: 3.938 kB / 489.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.1367, allocations: 64.19 kB / 489.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1367, allocations: 0 / 489.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001487/0.1368, allocations: 67.34 kB / 489.4 MB, free: 9.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.1369, allocations: 77.23 kB / 489.4 MB, free: 9.898 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.916e-05/0.1369, allocations: 97.86 kB / 489.5 MB, free: 9.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.137, allocations: 25.7 kB / 489.6 MB, free: 9.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.137, allocations: 84.12 kB / 489.6 MB, free: 9.676 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.137, allocations: 288 / 489.6 MB, free: 9.676 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/0.137, allocations: 17.72 kB / 489.7 MB, free: 9.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1372, allocations: 310.8 kB / 490 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-06/0.1372, allocations: 0 / 490 MB, free: 9.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-06/0.1372, allocations: 8.125 kB / 490 MB, free: 9.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.1372, allocations: 60.2 kB / 490 MB, free: 9.258 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1372, allocations: 0 / 490 MB, free: 9.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.83e-05/0.1373, allocations: 67.39 kB / 490.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.1373, allocations: 33.7 kB / 490.1 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1374, allocations: 3.938 kB / 490.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1374, allocations: 3.938 kB / 490.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1374, allocations: 0 / 490.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1374, allocations: 0 / 490.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.634e-05/0.1374, allocations: 8.094 kB / 490.1 MB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1374, allocations: 4 kB / 490.2 MB, free: 9.121 MB / 378.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.434e-05/0.1375, allocations: 139.5 kB / 490.3 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.1375, allocations: 0 / 490.3 MB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.361e-05/0.1375, allocations: 15.05 kB / 490.3 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1375, allocations: 0 / 490.3 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1375, allocations: 0 / 490.3 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1376, allocations: 3.938 kB / 490.3 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.281e-05/0.1377, allocations: 149.7 kB / 490.5 MB, free: 8.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1377, allocations: 4 kB / 490.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.1377, allocations: 0 / 490.5 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1377, allocations: 4 kB / 490.5 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1377, allocations: 3.938 kB / 490.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.1377, allocations: 0 / 490.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1377, allocations: 0 / 490.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.138, allocations: 0.6374 MB / 491.1 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.1381, allocations: 85 kB / 491.2 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1381, allocations: 4 kB / 491.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.1381, allocations: 0 / 491.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.331e-05/0.1381, allocations: 0 / 491.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.1381, allocations: 0 / 491.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.646e-05/0.1381, allocations: 79.22 kB / 491.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1382, allocations: 4 kB / 491.3 MB, free: 7.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.1385, allocations: 16 kB / 491.3 MB, free: 7.836 MB / 378.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.0003284/0.1388, allocations: 197.4 kB / 491.5 MB, free: 7.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.1389, allocations: 59.41 kB / 491.5 MB, free: 7.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1389, allocations: 8 kB / 491.5 MB, free: 7.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.133e-05/0.1389, allocations: 59.34 kB / 491.6 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1391, allocations: 7.219 kB / 491.6 MB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002045/0.1393, allocations: 181.7 kB / 491.8 MB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.1395, allocations: 0.6731 MB / 492.5 MB, free: 6.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.772e-06/0.1395, allocations: 0 / 492.5 MB, free: 6.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-06/0.1395, allocations: 7.438 kB / 492.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of SimCode: time 1.91e-07/0.1395, allocations: 0 / 492.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of Templates: time 0.002287/0.1418, allocations: 0.6527 MB / 493.1 MB, free: 5.922 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches