Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,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.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,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.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002408/0.002413, allocations: 188.3 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.389/2.389, 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.002947/0.002947, allocations: 90.86 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.2918/0.2918, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005022, allocations: 8 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5606/0.6838, allocations: 141.8 MB / 0.6173 GB, free: 12.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.699, allocations: 7.24 MB / 0.6243 GB, free: 5.688 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.7001, allocations: 19.81 kB / 0.6243 GB, free: 5.668 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.7014, allocations: 274.6 kB / 0.6246 GB, free: 5.398 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005605/0.707, allocations: 1.269 MB / 0.6258 GB, free: 4.129 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004643/0.7117, allocations: 0.9931 MB / 0.6268 GB, free: 3.137 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002545/0.7143, allocations: 1.047 MB / 0.6278 GB, free: 2.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009042/0.7152, allocations: 379.1 kB / 0.6282 GB, free: 1.715 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.7179, allocations: 0.744 MB / 0.6289 GB, free: 0.9688 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.7197, allocations: 0.5606 MB / 0.6295 GB, free: 416 kB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.72, allocations: 32 kB / 0.6295 GB, free: 384 kB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.7225, allocations: 0.6242 MB / 0.6301 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004984/0.723, allocations: 223.4 kB / 0.6303 GB, free: 15.53 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.7234, allocations: 157.4 kB / 0.6305 GB, free: 15.37 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.7258, allocations: 0.9898 MB / 0.6314 GB, free: 14.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.7258, allocations: 0 / 0.6314 GB, free: 14.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7258, allocations: 0 / 0.6314 GB, free: 14.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.7258, allocations: 0 / 0.6314 GB, free: 14.38 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.003249/0.7291, allocations: 0.9933 MB / 0.6324 GB, free: 13.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.7292, allocations: 12.02 kB / 0.6324 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.7304, allocations: 135.1 kB / 0.6326 GB, free: 13.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.7318, allocations: 488.6 kB / 0.633 GB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.7319, allocations: 108.4 kB / 0.6331 GB, free: 12.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.7321, allocations: 44 kB / 0.6332 GB, free: 12.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.7342, allocations: 0.8126 MB / 0.634 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.7343, allocations: 0 / 0.634 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.7345, allocations: 31.94 kB / 0.634 GB, free: 11.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.617e-05/0.7346, allocations: 40.92 kB / 0.634 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.7365, allocations: 0.6244 MB / 0.6346 GB, free: 10.93 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.007812/0.7444, allocations: 3.967 MB / 0.6385 GB, free: 6.707 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.7455, allocations: 339.7 kB / 0.6388 GB, free: 6.367 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.7456, allocations: 24.88 kB / 0.6389 GB, free: 6.344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.002e-05/0.7457, allocations: 42.83 kB / 0.6389 GB, free: 6.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 3.577e-06/0.7457, allocations: 0 / 0.6389 GB, free: 6.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.009925/0.7556, allocations: 1.669 MB / 0.6405 GB, free: 4.551 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.7558, allocations: 132.5 kB / 0.6407 GB, free: 4.391 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.757, allocations: 0.6055 MB / 0.6412 GB, free: 3.777 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.7572, allocations: 37.7 kB / 0.6413 GB, free: 3.734 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.7576, allocations: 401.4 kB / 0.6417 GB, free: 3.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.7578, allocations: 141.9 kB / 0.6418 GB, free: 3.199 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.7579, allocations: 16 kB / 0.6418 GB, free: 3.184 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.7581, allocations: 334.8 kB / 0.6421 GB, free: 2.848 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.7587, allocations: 201.9 kB / 0.6423 GB, free: 2.648 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009395/0.7597, allocations: 0.5047 MB / 0.6428 GB, free: 2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008195/0.7605, allocations: 287.8 kB / 0.6431 GB, free: 1.719 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.7606, allocations: 4 kB / 0.6431 GB, free: 1.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002463/0.763, allocations: 0.8421 MB / 0.6439 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.7631, allocations: 11.44 kB / 0.6439 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.7632, allocations: 11.98 kB / 0.6439 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/0.7656, allocations: 332.7 kB / 0.6443 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/0.7665, allocations: 115.8 kB / 0.6444 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.7684, allocations: 0.9347 MB / 0.6453 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.7695, allocations: 51.86 kB / 0.6453 GB, free: 15.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.7697, allocations: 64 kB / 0.6454 GB, free: 15.33 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.000557/0.7702, allocations: 257 kB / 0.6456 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.7704, allocations: 67.16 kB / 0.6457 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.773, allocations: 0.6744 MB / 0.6464 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.7731, allocations: 4 kB / 0.6464 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.7731, allocations: 3.953 kB / 0.6464 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.7731, allocations: 0 / 0.6464 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.7764, allocations: 1.265 MB / 0.6476 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.7764, allocations: 0 / 0.6476 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/0.7785, allocations: 207.8 kB / 0.6478 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.7787, allocations: 20.84 kB / 0.6478 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/0.7788, allocations: 19.98 kB / 0.6478 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/0.7819, allocations: 2.692 MB / 0.6505 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.782, allocations: 3.984 kB / 0.6505 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/0.7843, allocations: 0.8611 MB / 0.6513 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/0.7849, allocations: 184.2 kB / 0.6515 GB, free: 8.625 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.785, allocations: 12 kB / 0.6515 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007461/0.7858, allocations: 27.97 kB / 0.6515 GB, free: 8.586 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.786, allocations: 31.97 kB / 0.6516 GB, free: 8.555 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.7861, allocations: 52.03 kB / 0.6516 GB, free: 8.504 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008435/0.787, allocations: 423 kB / 0.652 GB, free: 8.094 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.787, allocations: 0 / 0.652 GB, free: 8.094 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001501/0.7885, allocations: 292 kB / 0.6523 GB, free: 7.809 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.001472/0.79, allocations: 388.9 kB / 0.6527 GB, free: 7.418 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.792, allocations: 0.5358 MB / 0.6532 GB, free: 6.883 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.7921, allocations: 11.86 kB / 0.6532 GB, free: 6.871 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.7938, allocations: 398.3 kB / 0.6536 GB, free: 6.469 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/0.7968, allocations: 327.3 kB / 0.6539 GB, free: 6.152 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.8005, allocations: 1.583 MB / 0.6554 GB, free: 4.523 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/0.8013, allocations: 0.9455 MB / 0.6564 GB, free: 3.551 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007642/0.802, allocations: 115.4 kB / 0.6565 GB, free: 3.438 MB / 458.7 MB Notification: Performance of SimCode: time 9.91e-07/0.8021, allocations: 4 kB / 0.6565 GB, free: 3.434 MB / 458.7 MB Notification: Performance of Templates: time 0.03909/0.8412, allocations: 16.8 MB / 0.6729 GB, free: 2.648 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches