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.001285/0.001285, allocations: 180.7 kB / 16.41 MB, free: 5.727 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.643/1.643, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007524/0.0007525, allocations: 82.36 kB / 270.9 MB, free: 8.355 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.3296/0.3296, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004231, allocations: 20 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0005844/0.119, allocations: 212.5 kB / 490.4 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1201, allocations: 0.7359 MB / 491.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.1201, allocations: 0 / 491.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.1201, allocations: 0 / 491.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1203, allocations: 11.92 kB / 491.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1205, allocations: 35.91 kB / 491.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.275e-05/0.1206, allocations: 11.94 kB / 491.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.586e-05/0.1206, allocations: 3.984 kB / 491.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.1207, allocations: 0 / 491.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.1207, allocations: 4 kB / 491.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-06/0.1208, allocations: 0 / 491.2 MB, free: 10.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.1209, allocations: 47.95 kB / 491.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.1209, allocations: 3.984 kB / 491.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1209, allocations: 25.7 kB / 491.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 8.611e-05/0.121, allocations: 35.91 kB / 491.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.121, allocations: 3.938 kB / 491.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.121, allocations: 4 kB / 491.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.121, allocations: 0 / 491.4 MB, free: 10.1 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.0002892/0.1213, allocations: 356.6 kB / 491.7 MB, free: 9.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1214, allocations: 12.03 kB / 491.7 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.1214, allocations: 0 / 491.7 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1215, allocations: 163 kB / 491.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1215, allocations: 0 / 491.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.545e-06/0.1216, allocations: 0 / 491.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.933e-05/0.1217, allocations: 33.69 kB / 491.9 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.491e-06/0.1217, allocations: 4 kB / 491.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.1217, allocations: 0 / 491.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1217, allocations: 0 / 491.9 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.682e-05/0.1217, allocations: 4 kB / 491.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.1218, allocations: 153.6 kB / 492.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.264e-05/0.1219, allocations: 18.52 kB / 492.1 MB, free: 9.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.1219, allocations: 12.94 kB / 492.1 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-06/0.1219, allocations: 0 / 492.1 MB, free: 9.199 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.122, allocations: 60.27 kB / 492.2 MB, free: 9.125 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.122, allocations: 0 / 492.2 MB, free: 9.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.1221, allocations: 67.34 kB / 492.2 MB, free: 9.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.1222, allocations: 81.11 kB / 492.3 MB, free: 8.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.477e-05/0.1223, allocations: 93.84 kB / 492.4 MB, free: 8.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1223, allocations: 25.7 kB / 492.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.1223, allocations: 80.39 kB / 492.5 MB, free: 8.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.106e-05/0.1223, allocations: 4 kB / 492.5 MB, free: 8.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-06/0.1223, allocations: 0 / 492.5 MB, free: 8.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1225, allocations: 322.8 kB / 492.8 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-06/0.1225, allocations: 7.875 kB / 492.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-06/0.1225, allocations: 1.172 kB / 492.8 MB, free: 8.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.354e-05/0.1225, allocations: 29.7 kB / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1225, allocations: 0 / 492.8 MB, free: 8.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.695e-05/0.1226, allocations: 63.39 kB / 492.9 MB, free: 8.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.1226, allocations: 33.8 kB / 492.9 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1226, allocations: 0 / 492.9 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.1227, allocations: 3.938 kB / 492.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/0.1227, allocations: 3.984 kB / 493 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1227, allocations: 0 / 493 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.467e-05/0.1227, allocations: 0 / 493 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1227, allocations: 4 kB / 493 MB, free: 8.238 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/0.1228, allocations: 147.5 kB / 493.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-06/0.1228, allocations: 4 kB / 493.1 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.868e-06/0.1228, allocations: 7.125 kB / 493.1 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1228, allocations: 0 / 493.1 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1228, allocations: 0 / 493.1 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1228, allocations: 0 / 493.1 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.71e-05/0.1229, allocations: 153.6 kB / 493.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1229, allocations: 4 kB / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.123, allocations: 0 / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.123, allocations: 0 / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.123, allocations: 0 / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.123, allocations: 0 / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.123, allocations: 0 / 493.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.639e-05/0.1231, allocations: 102.7 kB / 493.4 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.1231, allocations: 77.39 kB / 493.4 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.1231, allocations: 4 kB / 493.4 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.1232, allocations: 0 / 493.4 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.1232, allocations: 0 / 493.4 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1232, allocations: 0 / 493.4 MB, free: 7.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.993e-05/0.1232, allocations: 83.31 kB / 493.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1232, allocations: 0 / 493.5 MB, free: 7.559 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000219/0.1234, allocations: 23.98 kB / 493.5 MB, free: 7.535 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 (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.0003292/0.1238, allocations: 195.9 kB / 493.7 MB, free: 7.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.495e-05/0.1239, allocations: 59.41 kB / 493.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1239, allocations: 0 / 493.8 MB, free: 7.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.227e-05/0.1239, allocations: 63.39 kB / 493.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.124, allocations: 0 / 493.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.1242, allocations: 112.3 kB / 494 MB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.1245, allocations: 0.6731 MB / 494.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.917e-06/0.1245, allocations: 11.56 kB / 494.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1245, allocations: 3.938 kB / 494.7 MB, free: 6.352 MB / 378.7 MB Notification: Performance of Templates: time 0.002045/0.1266, allocations: 0.8038 MB / 495.5 MB, free: 5.547 MB / 378.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/jenkins/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