Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000894/0.0008941, allocations: 181.3 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.0007875/0.0007875, allocations: 96.97 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003261, allocations: 8 kB / 328.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2374, allocations: 47.57 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9765/1.214, allocations: 451.5 MB / 0.8079 GB, free: 165.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.214, allocations: 74.98 kB / 0.8079 GB, free: 165.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05858/1.273, allocations: 29.89 MB / 0.8371 GB, free: 144.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.273, allocations: 4 kB / 0.8371 GB, free: 144.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/1.273, allocations: 0 / 0.8371 GB, free: 144.1 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004101/1.273, allocations: 399.8 kB / 0.8375 GB, free: 143.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.273, allocations: 8.031 kB / 0.8375 GB, free: 143.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/1.275, allocations: 184.6 kB / 0.8377 GB, free: 143.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/1.275, allocations: 208.2 kB / 0.8379 GB, free: 143.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/1.275, allocations: 4.375 kB / 0.8379 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/1.275, allocations: 12.38 kB / 0.8379 GB, free: 143.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/1.276, allocations: 227.6 kB / 0.8381 GB, free: 143 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/1.276, allocations: 8.125 kB / 0.8381 GB, free: 143 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/1.276, allocations: 7.938 kB / 0.8381 GB, free: 143 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/1.276, allocations: 4 kB / 0.8381 GB, free: 143 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/1.276, allocations: 169.8 kB / 0.8383 GB, free: 142.8 MB / 426.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.0008866/1.277, allocations: 0.5766 MB / 0.8389 GB, free: 142.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/1.277, allocations: 133.9 kB / 0.839 GB, free: 142.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/1.277, allocations: 72.81 kB / 0.8391 GB, free: 142 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/1.277, allocations: 3.984 kB / 0.8391 GB, free: 142 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/1.278, allocations: 42.56 kB / 0.8391 GB, free: 141.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/1.278, allocations: 0 / 0.8391 GB, free: 141.9 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004656/1.282, allocations: 1.299 MB / 0.8404 GB, free: 140.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/1.282, allocations: 59.34 kB / 0.8404 GB, free: 140.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.873e-05/1.282, allocations: 109.8 kB / 0.8405 GB, free: 140.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/1.282, allocations: 37.64 kB / 0.8406 GB, free: 140.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/1.282, allocations: 99.88 kB / 0.8407 GB, free: 140.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/1.282, allocations: 67.03 kB / 0.8407 GB, free: 140.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/1.282, allocations: 8 kB / 0.8407 GB, free: 140.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/1.283, allocations: 318.8 kB / 0.841 GB, free: 139.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/1.283, allocations: 67.97 kB / 0.8411 GB, free: 139.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/1.283, allocations: 105.8 kB / 0.8412 GB, free: 139.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002888/1.283, allocations: 183.3 kB / 0.8414 GB, free: 139.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/1.283, allocations: 0 / 0.8414 GB, free: 139.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000439/1.284, allocations: 262.1 kB / 0.8416 GB, free: 139.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.284, allocations: 11.94 kB / 0.8416 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/1.284, allocations: 0 / 0.8416 GB, free: 139.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/1.284, allocations: 56.86 kB / 0.8417 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/1.284, allocations: 47.97 kB / 0.8417 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003021/1.284, allocations: 0.5641 MB / 0.8423 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/1.285, allocations: 4 kB / 0.8423 GB, free: 138.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/1.285, allocations: 31.98 kB / 0.8423 GB, free: 138.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.205e-05/1.285, allocations: 125.9 kB / 0.8425 GB, free: 138.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/1.285, allocations: 11.91 kB / 0.8425 GB, free: 138.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000745/1.285, allocations: 343.1 kB / 0.8428 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.285, allocations: 0 / 0.8428 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.285, allocations: 0 / 0.8428 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/1.285, allocations: 4 kB / 0.8428 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/1.286, allocations: 0.6199 MB / 0.8434 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.286, allocations: 4 kB / 0.8434 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/1.287, allocations: 63.83 kB / 0.8435 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.4e-05/1.287, allocations: 20.84 kB / 0.8435 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/1.287, allocations: 15.98 kB / 0.8435 GB, free: 137.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006411/1.287, allocations: 1.268 MB / 0.8447 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.287, allocations: 4.031 kB / 0.8447 GB, free: 135.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/1.288, allocations: 426.7 kB / 0.8452 GB, free: 135.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/1.288, allocations: 89.02 kB / 0.8452 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/1.288, allocations: 7.938 kB / 0.8452 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/1.288, allocations: 11.98 kB / 0.8453 GB, free: 135.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/1.288, allocations: 27.98 kB / 0.8453 GB, free: 135.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/1.288, allocations: 27.98 kB / 0.8453 GB, free: 135.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.478e-05/1.288, allocations: 87.27 kB / 0.8454 GB, free: 135 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.288, allocations: 0 / 0.8454 GB, free: 135 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005317/1.289, allocations: 115.9 kB / 0.8455 GB, free: 134.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007508/1.29, allocations: 0.5466 MB / 0.846 GB, free: 134.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004606/1.29, allocations: 195.8 kB / 0.8462 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.29, allocations: 4.188 kB / 0.8462 GB, free: 134.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/1.29, allocations: 232.2 kB / 0.8464 GB, free: 133.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/1.291, allocations: 52.39 kB / 0.8465 GB, free: 133.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/1.292, allocations: 0.5967 MB / 0.8471 GB, free: 133.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/1.292, allocations: 0.7126 MB / 0.8478 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/1.292, allocations: 47.41 kB / 0.8478 GB, free: 132.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/1.292, allocations: 0 / 0.8478 GB, free: 132.4 MB / 426.7 MB Notification: Performance of Templates: time 0.00687/1.299, allocations: 6.149 MB / 0.8538 GB, free: 126.3 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches