Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.001656, allocations: 186.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001165/0.001165, allocations: 90.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2895/0.2895, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006217/0.000622, allocations: 8 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1215, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.000682/0.1223, allocations: 208.7 kB / 490.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1239, allocations: 0.7379 MB / 491.2 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.124, allocations: 0 / 491.2 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1241, allocations: 0 / 491.2 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1243, allocations: 7.875 kB / 491.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1247, allocations: 39.94 kB / 491.2 MB, free: 8.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.486e-05/0.1247, allocations: 4 kB / 491.2 MB, free: 8.355 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.261e-05/0.1248, allocations: 3.938 kB / 491.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.1249, allocations: 7.938 kB / 491.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.125, allocations: 4 kB / 491.2 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.125, allocations: 0 / 491.2 MB, free: 8.34 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.1253, allocations: 43.89 kB / 491.3 MB, free: 8.297 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.1253, allocations: 0 / 491.3 MB, free: 8.297 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.1254, allocations: 25.7 kB / 491.3 MB, free: 8.266 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.1256, allocations: 31.95 kB / 491.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1256, allocations: 0 / 491.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.954e-06/0.1256, allocations: 8 kB / 491.3 MB, free: 8.227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1257, allocations: 0 / 491.3 MB, free: 8.227 MB / 330.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.0005388/0.1262, allocations: 349.1 kB / 491.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.1263, allocations: 8.031 kB / 491.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1264, allocations: 4 kB / 491.7 MB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.1266, allocations: 163 kB / 491.8 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1266, allocations: 0 / 491.8 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1266, allocations: 0 / 491.8 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1268, allocations: 41.62 kB / 491.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1268, allocations: 0 / 491.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1269, allocations: 3.938 kB / 491.9 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1269, allocations: 0 / 491.9 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.1269, allocations: 0 / 491.9 MB, free: 7.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.1272, allocations: 157.6 kB / 492 MB, free: 7.367 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.551e-05/0.1273, allocations: 14.58 kB / 492.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.1273, allocations: 0 / 492.1 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.245e-05/0.1274, allocations: 72.28 kB / 492.1 MB, free: 7.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 7.003e-06/0.1274, allocations: 3.984 kB / 492.1 MB, free: 7.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003122/0.1278, allocations: 63.41 kB / 492.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.1279, allocations: 77.11 kB / 492.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.128, allocations: 93.84 kB / 492.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.128, allocations: 25.7 kB / 492.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1282, allocations: 154.6 kB / 492.5 MB, free: 6.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.1282, allocations: 4.25 kB / 492.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.1283, allocations: 0 / 492.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.1285, allocations: 310.8 kB / 492.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.1285, allocations: 0 / 492.8 MB, free: 6.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.1286, allocations: 7.938 kB / 492.8 MB, free: 6.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.663e-05/0.1287, allocations: 29.7 kB / 492.9 MB, free: 6.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1287, allocations: 3.953 kB / 492.9 MB, free: 6.438 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001944/0.1289, allocations: 63.39 kB / 492.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.207e-05/0.129, allocations: 29.7 kB / 493 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.129, allocations: 4.094 kB / 493 MB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.1291, allocations: 7.938 kB / 493 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.234e-06/0.1291, allocations: 0 / 493 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1291, allocations: 0 / 493 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.42e-05/0.1291, allocations: 0 / 493 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.1292, allocations: 0 / 493 MB, free: 6.316 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.1293, allocations: 139.5 kB / 493.1 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.1294, allocations: 3.953 kB / 493.1 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.1294, allocations: 11.11 kB / 493.1 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1295, allocations: 4 kB / 493.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1295, allocations: 0 / 493.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1295, allocations: 0 / 493.1 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.1297, allocations: 145.7 kB / 493.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.1297, allocations: 0 / 493.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-06/0.1298, allocations: 7.891 kB / 493.3 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.1298, allocations: 3.984 kB / 493.3 MB, free: 5.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1298, allocations: 3.938 kB / 493.3 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.1298, allocations: 4 kB / 493.3 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1298, allocations: 0 / 493.3 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1301, allocations: 90.75 kB / 493.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-05/0.1302, allocations: 85.38 kB / 493.5 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.1302, allocations: 3.953 kB / 493.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/0.1303, allocations: 0 / 493.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1303, allocations: 0 / 493.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1303, allocations: 4 kB / 493.5 MB, free: 5.711 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.605e-05/0.1304, allocations: 75.28 kB / 493.6 MB, free: 5.637 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.1304, allocations: 4.125 kB / 493.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006521/0.1311, allocations: 16 kB / 493.6 MB, free: 5.617 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008377/0.132, allocations: 200.8 kB / 493.8 MB, free: 5.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1322, allocations: 59.34 kB / 493.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1322, allocations: 0 / 493.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.1323, allocations: 55.41 kB / 493.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.1325, allocations: 0 / 493.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.1329, allocations: 112.4 kB / 494 MB, free: 5.148 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.1334, allocations: 0.677 MB / 494.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.1334, allocations: 7.438 kB / 494.7 MB, free: 4.438 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1334, allocations: 4.125 kB / 494.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of Templates: time 0.004829/0.1383, allocations: 0.8311 MB / 495.5 MB, free: 3.605 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches