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.00147/0.00147, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 84.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2957/0.2957, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.234e-05, allocations: 8.203 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4427, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.89/2.333, allocations: 0.6183 GB / 1.084 GB, free: 119 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/2.334, allocations: 95.31 kB / 1.084 GB, free: 119 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.14/3.474, allocations: 226.3 MB / 1.305 GB, free: 95.29 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.713e-06/3.474, allocations: 3.906 kB / 1.305 GB, free: 95.29 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 7.938e-05/3.474, allocations: 19.72 kB / 1.305 GB, free: 95.28 MB / 0.4952 GB 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.003973/3.478, allocations: 1.155 MB / 1.306 GB, free: 94.4 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/3.478, allocations: 11.09 kB / 1.306 GB, free: 94.39 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/3.48, allocations: 139.8 kB / 1.307 GB, free: 94.33 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/3.481, allocations: 0.5393 MB / 1.307 GB, free: 93.91 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/3.482, allocations: 88.14 kB / 1.307 GB, free: 93.84 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/3.482, allocations: 28.72 kB / 1.307 GB, free: 93.84 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001352/3.483, allocations: 0.5219 MB / 1.308 GB, free: 93.61 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/3.485, allocations: 0.7344 MB / 1.308 GB, free: 93.07 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/3.485, allocations: 0 / 1.308 GB, free: 93.07 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/3.485, allocations: 11.23 kB / 1.308 GB, free: 93.07 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.524e-05/3.485, allocations: 40.14 kB / 1.308 GB, free: 93.05 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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.006498/3.491, allocations: 3.884 MB / 1.312 GB, free: 89.36 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/3.492, allocations: 267.2 kB / 1.313 GB, free: 89.09 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/3.492, allocations: 125.3 kB / 1.313 GB, free: 88.97 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/3.493, allocations: 23.66 kB / 1.313 GB, free: 88.95 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/3.493, allocations: 38.8 kB / 1.313 GB, free: 88.9 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 3.086e-06/3.493, allocations: 0 / 1.313 GB, free: 88.9 MB / 0.4952 GB Notification: Performance of matching and sorting (n=33): time 0.008814/3.501, allocations: 1.45 MB / 1.314 GB, free: 87.38 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/3.501, allocations: 136.5 kB / 1.314 GB, free: 87.21 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/3.502, allocations: 458.1 kB / 1.315 GB, free: 86.76 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 7.738e-05/3.502, allocations: 25.7 kB / 1.315 GB, free: 86.73 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/3.503, allocations: 433.3 kB / 1.315 GB, free: 86.3 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/3.503, allocations: 126.2 kB / 1.315 GB, free: 86.18 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/3.503, allocations: 0 / 1.315 GB, free: 86.18 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 8.597e-05/3.503, allocations: 342.8 kB / 1.316 GB, free: 85.83 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/3.503, allocations: 181.5 kB / 1.316 GB, free: 85.66 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/3.504, allocations: 493.1 kB / 1.316 GB, free: 85.03 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/3.505, allocations: 319.4 kB / 1.317 GB, free: 84.71 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/3.505, allocations: 7.938 kB / 1.317 GB, free: 84.71 MB / 0.4952 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002109/3.507, allocations: 0.7794 MB / 1.317 GB, free: 83.92 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/3.507, allocations: 15.95 kB / 1.317 GB, free: 83.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/3.507, allocations: 11.98 kB / 1.317 GB, free: 83.89 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/3.509, allocations: 277.4 kB / 1.318 GB, free: 83.62 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/3.51, allocations: 123.8 kB / 1.318 GB, free: 83.5 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/3.511, allocations: 0.9539 MB / 1.319 GB, free: 82.52 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/3.513, allocations: 31.98 kB / 1.319 GB, free: 82.49 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/3.513, allocations: 67.98 kB / 1.319 GB, free: 82.42 MB / 0.4952 GB 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 () * 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.0002353/3.513, allocations: 128.8 kB / 1.319 GB, free: 82.29 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/3.513, allocations: 55.34 kB / 1.319 GB, free: 82.23 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/3.515, allocations: 0.5206 MB / 1.319 GB, free: 81.7 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/3.515, allocations: 7.953 kB / 1.319 GB, free: 81.69 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/3.515, allocations: 0 / 1.319 GB, free: 81.69 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/3.515, allocations: 0 / 1.319 GB, free: 81.69 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/3.517, allocations: 0.9841 MB / 1.32 GB, free: 80.66 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/3.517, allocations: 0 / 1.32 GB, free: 80.66 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/3.519, allocations: 199.8 kB / 1.321 GB, free: 80.47 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/3.519, allocations: 24.88 kB / 1.321 GB, free: 80.44 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/3.519, allocations: 11.98 kB / 1.321 GB, free: 80.43 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/3.521, allocations: 2.581 MB / 1.323 GB, free: 77.62 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/3.522, allocations: 256 / 1.323 GB, free: 77.62 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/3.523, allocations: 0.6918 MB / 1.324 GB, free: 76.9 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/3.523, allocations: 176.3 kB / 1.324 GB, free: 76.71 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/3.524, allocations: 0 / 1.324 GB, free: 76.71 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/3.524, allocations: 20.05 kB / 1.324 GB, free: 76.69 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/3.525, allocations: 31.95 kB / 1.324 GB, free: 76.66 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.578e-05/3.525, allocations: 35.98 kB / 1.324 GB, free: 76.62 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0005708/3.525, allocations: 338.9 kB / 1.324 GB, free: 76.3 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.41e-07/3.525, allocations: 3.938 kB / 1.324 GB, free: 76.29 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001838/3.527, allocations: 355.7 kB / 1.325 GB, free: 75.95 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.00254/3.53, allocations: 1.18 MB / 1.326 GB, free: 74.89 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.00157/3.531, allocations: 0.4916 MB / 1.326 GB, free: 74.39 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/3.531, allocations: 0.9375 kB / 1.326 GB, free: 74.39 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/3.533, allocations: 345.7 kB / 1.327 GB, free: 74.05 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/3.535, allocations: 243.2 kB / 1.327 GB, free: 73.81 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/3.537, allocations: 0.9195 MB / 1.328 GB, free: 72.86 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/3.538, allocations: 0.9333 MB / 1.329 GB, free: 71.9 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/3.538, allocations: 99.41 kB / 1.329 GB, free: 71.8 MB / 0.4952 GB Notification: Performance of SimCode: time 1.102e-06/3.538, allocations: 0 / 1.329 GB, free: 71.8 MB / 0.4952 GB Notification: Performance of Templates: time 0.03846/3.577, allocations: 19.92 MB / 1.348 GB, free: 51.88 MB / 0.4952 GB 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