Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001703/0.001709, allocations: 188.9 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.034/2.034, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001137/0.001136, allocations: 90.78 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.2906/0.2906, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004711, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.85 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.5551/0.6799, allocations: 142.6 MB / 0.618 GB, free: 12.19 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.6952, allocations: 7.233 MB / 0.6251 GB, free: 4.941 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.6964, allocations: 23.81 kB / 0.6251 GB, free: 4.918 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.698, allocations: 266.6 kB / 0.6254 GB, free: 4.656 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006143/0.7042, allocations: 1.273 MB / 0.6266 GB, free: 3.383 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004509/0.7087, allocations: 0.9971 MB / 0.6276 GB, free: 2.387 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002591/0.7113, allocations: 1.04 MB / 0.6286 GB, free: 1.348 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.7124, allocations: 387 kB / 0.629 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.7152, allocations: 0.7324 MB / 0.6297 GB, free: 236 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.7172, allocations: 0.5685 MB / 0.6302 GB, free: 15.66 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002325/0.7175, allocations: 28 kB / 0.6303 GB, free: 15.63 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/0.7202, allocations: 0.628 MB / 0.6309 GB, free: 15 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006119/0.7209, allocations: 219.4 kB / 0.6311 GB, free: 14.79 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003784/0.7212, allocations: 169.3 kB / 0.6312 GB, free: 14.62 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002574/0.7238, allocations: 0.9819 MB / 0.6322 GB, free: 13.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7239, allocations: 0 / 0.6322 GB, free: 13.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.7239, allocations: 0 / 0.6322 GB, free: 13.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.7239, allocations: 0 / 0.6322 GB, free: 13.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003391/0.7273, allocations: 0.9855 MB / 0.6332 GB, free: 12.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.7274, allocations: 16.02 kB / 0.6332 GB, free: 12.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.7288, allocations: 131.1 kB / 0.6333 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.7302, allocations: 0.4927 MB / 0.6338 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.7304, allocations: 96.41 kB / 0.6339 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.7306, allocations: 48 kB / 0.6339 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.7328, allocations: 0.8096 MB / 0.6347 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.7329, allocations: 7.938 kB / 0.6347 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.7331, allocations: 23.95 kB / 0.6347 GB, free: 10.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.279e-05/0.7332, allocations: 36.98 kB / 0.6348 GB, free: 10.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.7351, allocations: 0.6205 MB / 0.6354 GB, free: 10.19 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007982/0.7431, allocations: 3.963 MB / 0.6393 GB, free: 5.977 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.7442, allocations: 347.6 kB / 0.6396 GB, free: 5.629 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.7444, allocations: 24.91 kB / 0.6396 GB, free: 5.605 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.7444, allocations: 42.84 kB / 0.6397 GB, free: 5.555 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.025e-06/0.7444, allocations: 4 kB / 0.6397 GB, free: 5.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.009621/0.7541, allocations: 1.661 MB / 0.6413 GB, free: 3.816 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.7542, allocations: 140.5 kB / 0.6414 GB, free: 3.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.7554, allocations: 0.6016 MB / 0.642 GB, free: 3.039 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.7555, allocations: 37.7 kB / 0.642 GB, free: 2.996 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.7559, allocations: 397.4 kB / 0.6424 GB, free: 2.605 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.7561, allocations: 142 kB / 0.6426 GB, free: 2.465 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.7562, allocations: 15.94 kB / 0.6426 GB, free: 2.449 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.7564, allocations: 338.8 kB / 0.6429 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.757, allocations: 197.9 kB / 0.6431 GB, free: 1.914 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008919/0.7579, allocations: 0.5124 MB / 0.6436 GB, free: 1.258 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008109/0.7588, allocations: 291.8 kB / 0.6439 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.7588, allocations: 4 kB / 0.6439 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002449/0.7612, allocations: 0.8419 MB / 0.6447 GB, free: 120 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.7613, allocations: 10.66 kB / 0.6447 GB, free: 112 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.7613, allocations: 12 kB / 0.6447 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002539/0.7639, allocations: 320.8 kB / 0.645 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008306/0.7648, allocations: 127.8 kB / 0.6451 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.7667, allocations: 0.927 MB / 0.646 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.7678, allocations: 47.86 kB / 0.6461 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.768, allocations: 72.05 kB / 0.6462 GB, free: 14.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005463/0.7685, allocations: 245.5 kB / 0.6464 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.7688, allocations: 67.16 kB / 0.6465 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/0.7713, allocations: 0.6857 MB / 0.6471 GB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.7714, allocations: 4 kB / 0.6471 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/0.7714, allocations: 3.953 kB / 0.6471 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.7714, allocations: 3.984 kB / 0.6471 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.7747, allocations: 1.257 MB / 0.6484 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.7747, allocations: 0 / 0.6484 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002085/0.7768, allocations: 211.8 kB / 0.6486 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.777, allocations: 24.84 kB / 0.6486 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/0.7771, allocations: 12.12 kB / 0.6486 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002866/0.78, allocations: 2.699 MB / 0.6512 GB, free: 8.996 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.7801, allocations: 4.031 kB / 0.6512 GB, free: 8.992 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.7823, allocations: 0.8535 MB / 0.6521 GB, free: 8.082 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.7828, allocations: 184.3 kB / 0.6522 GB, free: 7.883 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.783, allocations: 19.98 kB / 0.6523 GB, free: 7.863 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000769/0.7838, allocations: 19.98 kB / 0.6523 GB, free: 7.844 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.7839, allocations: 39.95 kB / 0.6523 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.7841, allocations: 47.98 kB / 0.6524 GB, free: 7.758 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008543/0.7849, allocations: 427 kB / 0.6528 GB, free: 7.344 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.785, allocations: 0 / 0.6528 GB, free: 7.344 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001569/0.7865, allocations: 292 kB / 0.6531 GB, free: 7.059 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.788, allocations: 382.6 kB / 0.6534 GB, free: 6.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.7901, allocations: 0.5359 MB / 0.6539 GB, free: 6.145 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.7901, allocations: 0 / 0.6539 GB, free: 6.145 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.7919, allocations: 406.5 kB / 0.6543 GB, free: 5.734 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/0.7949, allocations: 319.4 kB / 0.6546 GB, free: 5.426 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.7986, allocations: 1.587 MB / 0.6562 GB, free: 3.793 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/0.7994, allocations: 0.9455 MB / 0.6571 GB, free: 2.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007618/0.8001, allocations: 111.4 kB / 0.6572 GB, free: 2.711 MB / 458.7 MB Notification: Performance of SimCode: time 3.356e-06/0.8002, allocations: 0 / 0.6572 GB, free: 2.711 MB / 458.7 MB Notification: Performance of Templates: time 0.03918/0.8394, allocations: 16.81 MB / 0.6736 GB, free: 1.91 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches