Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.Air,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.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,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.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002138/0.002143, allocations: 182.5 kB / 16.4 MB, free: 5.75 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.085/2.085, 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.001102/0.001102, allocations: 93.84 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.5171/0.5171, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004893, allocations: 8 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 58.85 MB / 490.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5245/0.6547, allocations: 141.9 MB / 0.6173 GB, free: 9.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01937/0.6741, allocations: 8.802 MB / 0.6259 GB, free: 436 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009892/0.6751, allocations: 19.81 kB / 0.6259 GB, free: 416 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.6763, allocations: 274.6 kB / 0.6262 GB, free: 140 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.6813, allocations: 1.185 MB / 0.6273 GB, free: 14.95 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.6853, allocations: 0.8936 MB / 0.6282 GB, free: 14.07 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.6877, allocations: 1.04 MB / 0.6292 GB, free: 13.04 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008395/0.6886, allocations: 397.2 kB / 0.6296 GB, free: 12.65 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.6911, allocations: 0.744 MB / 0.6303 GB, free: 11.9 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.6922, allocations: 454.5 kB / 0.6308 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.6924, allocations: 28 kB / 0.6308 GB, free: 11.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002317/0.6947, allocations: 0.6281 MB / 0.6314 GB, free: 10.8 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004415/0.6952, allocations: 223.4 kB / 0.6316 GB, free: 10.58 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.6955, allocations: 165.4 kB / 0.6318 GB, free: 10.41 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.6976, allocations: 0.9851 MB / 0.6327 GB, free: 9.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6976, allocations: 0 / 0.6327 GB, free: 9.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6977, allocations: 0 / 0.6327 GB, free: 9.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.6977, allocations: 0 / 0.6327 GB, free: 9.43 MB / 458.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.003015/0.7007, allocations: 0.9895 MB / 0.6337 GB, free: 8.391 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.038e-05/0.7008, allocations: 20.02 kB / 0.6337 GB, free: 8.371 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.702, allocations: 131.1 kB / 0.6339 GB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.7032, allocations: 488.6 kB / 0.6343 GB, free: 7.723 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.7034, allocations: 100.4 kB / 0.6344 GB, free: 7.613 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.7036, allocations: 55.92 kB / 0.6345 GB, free: 7.559 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.7058, allocations: 0.8132 MB / 0.6353 GB, free: 6.672 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.7058, allocations: 4 kB / 0.6353 GB, free: 6.668 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.7059, allocations: 24 kB / 0.6353 GB, free: 6.645 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.154e-05/0.706, allocations: 44.91 kB / 0.6353 GB, free: 6.602 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.7079, allocations: 0.6166 MB / 0.6359 GB, free: 5.984 MB / 458.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.007092/0.715, allocations: 3.958 MB / 0.6398 GB, free: 1.777 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009759/0.716, allocations: 347.7 kB / 0.6401 GB, free: 1.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.7161, allocations: 28.86 kB / 0.6402 GB, free: 1.402 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.7162, allocations: 46.83 kB / 0.6402 GB, free: 1.348 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 3.156e-06/0.7162, allocations: 0 / 0.6402 GB, free: 1.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.009607/0.7258, allocations: 1.669 MB / 0.6418 GB, free: 15.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.145e-05/0.7259, allocations: 136.5 kB / 0.642 GB, free: 15.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.7271, allocations: 0.6055 MB / 0.6426 GB, free: 14.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.24e-05/0.7272, allocations: 33.7 kB / 0.6426 GB, free: 14.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.7275, allocations: 401.4 kB / 0.643 GB, free: 14.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.7277, allocations: 142 kB / 0.6431 GB, free: 14.26 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.474e-05/0.7278, allocations: 12 kB / 0.6431 GB, free: 14.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.728, allocations: 338.8 kB / 0.6434 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.7286, allocations: 201.9 kB / 0.6436 GB, free: 13.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009187/0.7296, allocations: 0.5086 MB / 0.6441 GB, free: 13.06 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008072/0.7304, allocations: 287.7 kB / 0.6444 GB, free: 12.78 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.7304, allocations: 4 kB / 0.6444 GB, free: 12.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002394/0.7328, allocations: 0.8417 MB / 0.6452 GB, free: 11.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.7329, allocations: 14.92 kB / 0.6452 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.7329, allocations: 12 kB / 0.6453 GB, free: 11.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.7353, allocations: 317 kB / 0.6456 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.7362, allocations: 123.8 kB / 0.6457 GB, free: 11.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.738, allocations: 0.9391 MB / 0.6466 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009142/0.739, allocations: 43.98 kB / 0.6466 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.7391, allocations: 67.98 kB / 0.6467 GB, free: 10.39 MB / 474.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.000511/0.7397, allocations: 245.5 kB / 0.6469 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.7398, allocations: 63.25 kB / 0.647 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.7423, allocations: 0.6858 MB / 0.6477 GB, free: 9.387 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.7424, allocations: 7.953 kB / 0.6477 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.7424, allocations: 0 / 0.6477 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7424, allocations: 0 / 0.6477 GB, free: 9.379 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.7454, allocations: 1.269 MB / 0.6489 GB, free: 8.016 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7454, allocations: 0 / 0.6489 GB, free: 8.016 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/0.7475, allocations: 210.1 kB / 0.6491 GB, free: 7.812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001452/0.7476, allocations: 28.97 kB / 0.6491 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.7477, allocations: 15.98 kB / 0.6492 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/0.7506, allocations: 2.693 MB / 0.6518 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7507, allocations: 4.094 kB / 0.6518 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.7528, allocations: 0.8531 MB / 0.6526 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004218/0.7533, allocations: 184.2 kB / 0.6528 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.7535, allocations: 12 kB / 0.6528 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007302/0.7542, allocations: 23.92 kB / 0.6528 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.7544, allocations: 40.02 kB / 0.6529 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.7545, allocations: 51.97 kB / 0.6529 GB, free: 3.57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008306/0.7553, allocations: 431 kB / 0.6533 GB, free: 3.152 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7554, allocations: 0 / 0.6533 GB, free: 3.152 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001454/0.7568, allocations: 288 kB / 0.6536 GB, free: 2.871 MB / 474.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.001354/0.7582, allocations: 378.6 kB / 0.654 GB, free: 2.492 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.7601, allocations: 0.5348 MB / 0.6545 GB, free: 1.961 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.7601, allocations: 0 / 0.6545 GB, free: 1.961 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.7618, allocations: 402.5 kB / 0.6549 GB, free: 1.555 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.7645, allocations: 331.7 kB / 0.6552 GB, free: 1.242 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.7679, allocations: 1.588 MB / 0.6567 GB, free: 15.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/0.7687, allocations: 0.9455 MB / 0.6577 GB, free: 14.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/0.7694, allocations: 111.4 kB / 0.6578 GB, free: 14.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7694, allocations: 0 / 0.6578 GB, free: 14.52 MB / 490.7 MB Notification: Performance of Templates: time 0.3455/1.115, allocations: 16.79 MB / 0.6742 GB, free: 147.6 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches