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.001052/0.001052, allocations: 107.7 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.0009789/0.0009789, allocations: 190 kB / 19.39 MB, free: 3.688 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.388/1.388, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2131/0.2131, allocations: 44.19 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4156, allocations: 60.82 MB / 0.5195 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0016/0.4172, allocations: 0.4926 MB / 0.52 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.4184, allocations: 0.7786 MB / 0.5208 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.714e-05/0.4185, allocations: 0 / 0.5208 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.4185, allocations: 1.125 kB / 0.5208 GB, free: 3.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.4187, allocations: 1.969 kB / 0.5208 GB, free: 3.012 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.0006468/0.4193, allocations: 59.81 kB / 0.5208 GB, free: 2.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.29e-05/0.4194, allocations: 11.11 kB / 0.5209 GB, free: 2.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.4195, allocations: 5.984 kB / 0.5209 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.036e-05/0.4195, allocations: 1.984 kB / 0.5209 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.572e-05/0.4196, allocations: 2.188 kB / 0.5209 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.4196, allocations: 1.281 kB / 0.5209 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.4197, allocations: 62.58 kB / 0.5209 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.4198, allocations: 0 / 0.5209 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.4198, allocations: 1.469 kB / 0.5209 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.4199, allocations: 50.59 kB / 0.521 GB, free: 2.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4199, allocations: 1.125 kB / 0.521 GB, free: 2.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.42, allocations: 0 / 0.521 GB, free: 2.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.42, allocations: 4 kB / 0.521 GB, free: 2.93 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.000295/0.4203, allocations: 358.5 kB / 0.5213 GB, free: 2.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.4203, allocations: 8.875 kB / 0.5213 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.4204, allocations: 1.5 kB / 0.5213 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.4205, allocations: 163.2 kB / 0.5215 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4205, allocations: 384 / 0.5215 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.4205, allocations: 1.375 kB / 0.5215 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.4206, allocations: 29.78 kB / 0.5215 GB, free: 2.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.4206, allocations: 5.281 kB / 0.5215 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4206, allocations: 7.922 kB / 0.5215 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.4206, allocations: 0 / 0.5215 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.709e-05/0.4206, allocations: 6.797 kB / 0.5215 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.784e-05/0.4207, allocations: 144.4 kB / 0.5217 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.794e-05/0.4208, allocations: 21.34 kB / 0.5217 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.4208, allocations: 6.719 kB / 0.5217 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.4208, allocations: 1.219 kB / 0.5217 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.4209, allocations: 62.08 kB / 0.5218 GB, free: 1.996 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4209, allocations: 0 / 0.5218 GB, free: 1.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001656/0.421, allocations: 69.33 kB / 0.5218 GB, free: 1.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.4211, allocations: 82.86 kB / 0.5219 GB, free: 1.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.4211, allocations: 96.12 kB / 0.522 GB, free: 1.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.4211, allocations: 30.86 kB / 0.522 GB, free: 1.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.108e-05/0.4212, allocations: 80.39 kB / 0.5221 GB, free: 1.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.4212, allocations: 9.078 kB / 0.5221 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.4212, allocations: 12.78 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.4213, allocations: 316.3 kB / 0.5224 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.003e-05/0.4213, allocations: 1.094 kB / 0.5224 GB, free: 1.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.4213, allocations: 1.188 kB / 0.5224 GB, free: 1.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.386e-05/0.4213, allocations: 60.3 kB / 0.5225 GB, free: 1.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4213, allocations: 1.188 kB / 0.5225 GB, free: 1.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.719e-05/0.4214, allocations: 72.66 kB / 0.5226 GB, free: 1.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.4214, allocations: 34.41 kB / 0.5226 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.4214, allocations: 0 / 0.5226 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.4215, allocations: 5.625 kB / 0.5226 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.4215, allocations: 0 / 0.5226 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.4215, allocations: 1.344 kB / 0.5226 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.4215, allocations: 0.6094 kB / 0.5226 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.4215, allocations: 1.156 kB / 0.5226 GB, free: 1.09 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.414e-05/0.4216, allocations: 138.8 kB / 0.5227 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.4216, allocations: 5.281 kB / 0.5227 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.079e-05/0.4216, allocations: 11.72 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4216, allocations: 1.969 kB / 0.5228 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.4216, allocations: 0 / 0.5228 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.4216, allocations: 77.72 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.4216, allocations: 1.891 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-06/0.4217, allocations: 1.219 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.4217, allocations: 1.891 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.375e-05/0.4218, allocations: 197.5 kB / 0.523 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.227e-05/0.4219, allocations: 242.8 kB / 0.5233 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.888e-05/0.4219, allocations: 2.766 kB / 0.5233 GB, free: 388 kB / 382.1 MB Notification: Performance of sorting global known variables: time 1.504e-05/0.4219, allocations: 77.05 kB / 0.5233 GB, free: 312 kB / 382.1 MB Notification: Performance of Backend: time 1.7e-07/0.4219, allocations: 0 / 0.5233 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006117/0.4225, allocations: 233.1 kB / 0.5235 GB, free: 136 kB / 382.1 MB Notification: Performance of SimCode: time 0.0003576/0.4229, allocations: 0.5812 MB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of Templates: time 0.003346/0.4263, allocations: 0.6582 MB / 0.5248 GB, free: 15.4 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