Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001534/0.001534, allocations: 197.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 226.5 MB / 243.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007478/0.000748, allocations: 103.3 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2957/0.2957, allocations: 44.83 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002734, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2768, allocations: 62.96 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1301/0.4069, allocations: 135.7 MB / 0.6484 GB, free: 1.379 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.4086, allocations: 1.485 MB / 0.6499 GB, free: 15.89 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.4086, allocations: 3.938 kB / 0.6499 GB, free: 15.89 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.4089, allocations: 55.78 kB / 0.6499 GB, free: 15.83 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007369/0.4097, allocations: 346.5 kB / 0.6502 GB, free: 15.49 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.4101, allocations: 143 kB / 0.6504 GB, free: 15.36 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.4103, allocations: 215.2 kB / 0.6506 GB, free: 15.14 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.4103, allocations: 7.984 kB / 0.6506 GB, free: 15.14 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4105, allocations: 67.77 kB / 0.6507 GB, free: 15.07 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.4106, allocations: 63.75 kB / 0.6507 GB, free: 15.01 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.4106, allocations: 4 kB / 0.6507 GB, free: 15 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.4117, allocations: 0.6977 MB / 0.6514 GB, free: 14.3 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.4117, allocations: 31.89 kB / 0.6514 GB, free: 14.27 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.545e-05/0.4118, allocations: 73.48 kB / 0.6515 GB, free: 14.2 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.4122, allocations: 292.9 kB / 0.6518 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4122, allocations: 4 kB / 0.6518 GB, free: 13.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4122, allocations: 4 kB / 0.6518 GB, free: 13.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.4122, allocations: 0 / 0.6518 GB, free: 13.9 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004453/0.4127, allocations: 407.5 kB / 0.6522 GB, free: 13.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.4127, allocations: 8.031 kB / 0.6522 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.4147, allocations: 196.6 kB / 0.6524 GB, free: 13.26 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.4149, allocations: 207.8 kB / 0.6526 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4149, allocations: 4 kB / 0.6526 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.415, allocations: 11.91 kB / 0.6526 GB, free: 13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.4154, allocations: 204.3 kB / 0.6528 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4154, allocations: 7.922 kB / 0.6528 GB, free: 12.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.4155, allocations: 8 kB / 0.6528 GB, free: 12.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4155, allocations: 3.938 kB / 0.6528 GB, free: 12.78 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.416, allocations: 231.9 kB / 0.653 GB, free: 12.55 MB / 474.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.001588/0.4176, allocations: 0.6674 MB / 0.6537 GB, free: 11.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.418, allocations: 190.4 kB / 0.6539 GB, free: 11.64 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.4182, allocations: 92.81 kB / 0.6539 GB, free: 11.54 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.4184, allocations: 97.08 kB / 0.654 GB, free: 11.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.4184, allocations: 38.5 kB / 0.6541 GB, free: 11.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.4184, allocations: 0 / 0.6541 GB, free: 11.38 MB / 474.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.005127/0.4236, allocations: 1.527 MB / 0.6556 GB, free: 9.738 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.4236, allocations: 55.41 kB / 0.6556 GB, free: 9.672 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.4237, allocations: 105.8 kB / 0.6557 GB, free: 9.559 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.4237, allocations: 29.7 kB / 0.6557 GB, free: 9.523 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.4238, allocations: 100.2 kB / 0.6558 GB, free: 9.422 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.4238, allocations: 74.98 kB / 0.6559 GB, free: 9.348 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.4239, allocations: 4 kB / 0.6559 GB, free: 9.344 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.424, allocations: 322.8 kB / 0.6562 GB, free: 9.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.4242, allocations: 91.89 kB / 0.6563 GB, free: 8.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.4244, allocations: 127.2 kB / 0.6564 GB, free: 8.793 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.4248, allocations: 233.8 kB / 0.6567 GB, free: 8.555 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4248, allocations: 0 / 0.6567 GB, free: 8.555 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005874/0.4254, allocations: 278.2 kB / 0.6569 GB, free: 8.273 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4255, allocations: 8.094 kB / 0.6569 GB, free: 8.266 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4255, allocations: 4 kB / 0.6569 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.4256, allocations: 24.84 kB / 0.657 GB, free: 8.234 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.426, allocations: 59.89 kB / 0.657 GB, free: 8.176 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003021/0.4263, allocations: 0.5251 MB / 0.6575 GB, free: 7.625 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.4266, allocations: 24.05 kB / 0.6576 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.4267, allocations: 4 kB / 0.6576 GB, free: 7.598 MB / 474.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 0.0001202/0.4268, allocations: 133 kB / 0.6577 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.4268, allocations: 11.81 kB / 0.6577 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/0.4276, allocations: 325.2 kB / 0.658 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4276, allocations: 0 / 0.658 GB, free: 7.121 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4276, allocations: 3.938 kB / 0.658 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.4276, allocations: 0 / 0.658 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.4286, allocations: 0.668 MB / 0.6587 GB, free: 6.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4287, allocations: 0 / 0.6587 GB, free: 6.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/0.4291, allocations: 51.95 kB / 0.6587 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.661e-05/0.4292, allocations: 16.84 kB / 0.6587 GB, free: 6.309 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.4292, allocations: 16.08 kB / 0.6587 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008209/0.43, allocations: 1.269 MB / 0.66 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.43, allocations: 8.094 kB / 0.66 GB, free: 4.883 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007588/0.4308, allocations: 444.4 kB / 0.6604 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.4309, allocations: 92.98 kB / 0.6605 GB, free: 4.312 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.4309, allocations: 4 kB / 0.6605 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.4312, allocations: 11.98 kB / 0.6605 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.4312, allocations: 15.92 kB / 0.6605 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.4313, allocations: 15.98 kB / 0.6605 GB, free: 4.266 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.713e-05/0.4313, allocations: 87.22 kB / 0.6606 GB, free: 4.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4313, allocations: 0 / 0.6606 GB, free: 4.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004789/0.4318, allocations: 136 kB / 0.6608 GB, free: 4.047 MB / 474.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 (19): * Single equations (assignments): 18 * 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.0006406/0.4325, allocations: 259 kB / 0.661 GB, free: 3.785 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.433, allocations: 236.8 kB / 0.6612 GB, free: 3.555 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4331, allocations: 0 / 0.6612 GB, free: 3.555 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.4334, allocations: 231 kB / 0.6615 GB, free: 3.316 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.4339, allocations: 52.25 kB / 0.6615 GB, free: 3.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.4347, allocations: 0.6012 MB / 0.6621 GB, free: 2.625 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.4349, allocations: 0.7049 MB / 0.6628 GB, free: 1.891 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.4351, allocations: 27.42 kB / 0.6628 GB, free: 1.863 MB / 474.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4351, allocations: 4 kB / 0.6628 GB, free: 1.859 MB / 474.7 MB Notification: Performance of Templates: time 0.00692/0.442, allocations: 5.159 MB / 0.6678 GB, free: 12.7 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches