Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile") translateModel(ModelicaTest.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 113.9 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 186.1 kB / 19.39 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2176/0.2176, allocations: 44.17 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 64.09 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3614, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.001429/0.3628, allocations: 495.1 kB / 0.52 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009767/0.3638, allocations: 0.7793 MB / 0.5208 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.3638, allocations: 0 / 0.5208 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.124e-05/0.3639, allocations: 1.156 kB / 0.5208 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.364, allocations: 6.234 kB / 0.5208 GB, free: 2.754 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:323:3-363:15:writable] Warning: Pure function 'ModelicaTest.Utilities.ReadFile' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0005635/0.3646, allocations: 64.28 kB / 0.5209 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.094e-05/0.3647, allocations: 3.109 kB / 0.5209 GB, free: 2.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.3647, allocations: 6.062 kB / 0.5209 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.3647, allocations: 1.188 kB / 0.5209 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/0.3648, allocations: 3.688 kB / 0.5209 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.3648, allocations: 0 / 0.5209 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3649, allocations: 63.27 kB / 0.5209 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.204e-06/0.365, allocations: 0 / 0.5209 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.365, allocations: 1.438 kB / 0.5209 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.3651, allocations: 54.44 kB / 0.521 GB, free: 2.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3651, allocations: 0.7969 kB / 0.521 GB, free: 2.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3651, allocations: 1.188 kB / 0.521 GB, free: 2.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.3651, allocations: 0 / 0.521 GB, free: 2.672 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.0002476/0.3654, allocations: 357.8 kB / 0.5213 GB, free: 2.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3654, allocations: 8.719 kB / 0.5213 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.3655, allocations: 0.9375 kB / 0.5213 GB, free: 2.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.043e-05/0.3655, allocations: 162.8 kB / 0.5215 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3655, allocations: 384 / 0.5215 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.3656, allocations: 5.594 kB / 0.5215 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.931e-05/0.3656, allocations: 30.11 kB / 0.5215 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.3656, allocations: 0.9375 kB / 0.5215 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.3657, allocations: 4.844 kB / 0.5215 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3657, allocations: 3.938 kB / 0.5215 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.378e-05/0.3657, allocations: 1.156 kB / 0.5215 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.497e-05/0.3658, allocations: 150.1 kB / 0.5217 GB, free: 1.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.051e-05/0.3658, allocations: 16.55 kB / 0.5217 GB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.3658, allocations: 11.91 kB / 0.5217 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.3658, allocations: 0 / 0.5217 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.3659, allocations: 62.06 kB / 0.5218 GB, free: 1.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3659, allocations: 0 / 0.5218 GB, free: 1.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001382/0.366, allocations: 74.06 kB / 0.5218 GB, free: 1.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.844e-05/0.366, allocations: 83.03 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.152e-05/0.3661, allocations: 99.89 kB / 0.522 GB, free: 1.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.3661, allocations: 25.7 kB / 0.522 GB, free: 1.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.044e-05/0.3661, allocations: 81.39 kB / 0.5221 GB, free: 1.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.3661, allocations: 4.516 kB / 0.5221 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.3662, allocations: 13.34 kB / 0.5221 GB, free: 1.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.907e-05/0.3662, allocations: 315.4 kB / 0.5224 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.3662, allocations: 1.156 kB / 0.5224 GB, free: 1.016 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-06/0.3662, allocations: 1.734 kB / 0.5224 GB, free: 1.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.3663, allocations: 68.8 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3663, allocations: 0 / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.442e-05/0.3663, allocations: 60.95 kB / 0.5226 GB, free: 0.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3664, allocations: 33.19 kB / 0.5226 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.3664, allocations: 0 / 0.5226 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3664, allocations: 3.938 kB / 0.5226 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.3664, allocations: 2.016 kB / 0.5226 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3664, allocations: 0 / 0.5226 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.3664, allocations: 1.406 kB / 0.5226 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.3664, allocations: 0 / 0.5226 GB, free: 0.8398 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 4.346e-05/0.3665, allocations: 143.7 kB / 0.5227 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.3665, allocations: 2.406 kB / 0.5227 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.325e-06/0.3665, allocations: 11.02 kB / 0.5227 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3665, allocations: 3.984 kB / 0.5227 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3665, allocations: 2.094 kB / 0.5227 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.3665, allocations: 77.86 kB / 0.5228 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.3666, allocations: 1.156 kB / 0.5228 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-06/0.3666, allocations: 1.062 kB / 0.5228 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.3666, allocations: 4.797 kB / 0.5228 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.514e-05/0.3667, allocations: 199.2 kB / 0.523 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.228e-05/0.3668, allocations: 238.3 kB / 0.5232 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.658e-05/0.3668, allocations: 3.562 kB / 0.5232 GB, free: 128 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.307e-05/0.3668, allocations: 76.69 kB / 0.5233 GB, free: 52 kB / 382.1 MB Notification: Performance of Backend: time 3.01e-07/0.3668, allocations: 4.156 kB / 0.5233 GB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005873/0.3674, allocations: 238.9 kB / 0.5236 GB, free: 15.88 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003657/0.3678, allocations: 0.5766 MB / 0.5241 GB, free: 15.25 MB / 398.1 MB Notification: Performance of Templates: time 0.00287/0.3707, allocations: 0.662 MB / 0.5248 GB, free: 15.14 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestReadFile/TestReadFile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches