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.001415/0.001415, allocations: 201.8 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007198/0.0007198, allocations: 95.91 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1711/0.1711, allocations: 44.84 MB / 392 MB, free: 9.312 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002295, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08885/0.0891, allocations: 62.96 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2998/0.3889, allocations: 135.7 MB / 0.6478 GB, free: 5.727 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3906, allocations: 1.489 MB / 0.6493 GB, free: 4.234 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.3907, allocations: 4 kB / 0.6493 GB, free: 4.23 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3909, allocations: 39.8 kB / 0.6493 GB, free: 4.191 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007492/0.3917, allocations: 282.6 kB / 0.6496 GB, free: 3.914 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.3921, allocations: 130 kB / 0.6497 GB, free: 3.789 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.3924, allocations: 207.2 kB / 0.6499 GB, free: 3.586 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.3924, allocations: 4 kB / 0.6499 GB, free: 3.582 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3926, allocations: 75.7 kB / 0.65 GB, free: 3.508 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.3927, allocations: 59.81 kB / 0.6501 GB, free: 3.449 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3927, allocations: 4 kB / 0.6501 GB, free: 3.445 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008219/0.3935, allocations: 443.2 kB / 0.6505 GB, free: 3.012 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 4.284e-05/0.3936, allocations: 35.89 kB / 0.6505 GB, free: 2.977 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.3936, allocations: 41.64 kB / 0.6506 GB, free: 2.93 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.394, allocations: 265 kB / 0.6508 GB, free: 2.672 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.394, allocations: 0 / 0.6508 GB, free: 2.672 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.394, allocations: 3.938 kB / 0.6508 GB, free: 2.668 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.394, allocations: 4 kB / 0.6508 GB, free: 2.664 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004344/0.3945, allocations: 407.3 kB / 0.6512 GB, free: 2.219 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.3945, allocations: 15.97 kB / 0.6512 GB, free: 2.203 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.3965, allocations: 191.6 kB / 0.6514 GB, free: 2.016 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.3967, allocations: 210.9 kB / 0.6516 GB, free: 1.773 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3967, allocations: 8.188 kB / 0.6516 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.3968, allocations: 15.91 kB / 0.6516 GB, free: 1.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.3972, allocations: 205.9 kB / 0.6518 GB, free: 1.547 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3972, allocations: 0 / 0.6518 GB, free: 1.547 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.3972, allocations: 4 kB / 0.6518 GB, free: 1.543 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3972, allocations: 4 kB / 0.6518 GB, free: 1.539 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005226/0.3978, allocations: 232.4 kB / 0.6521 GB, free: 1.312 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.001512/0.3993, allocations: 0.6755 MB / 0.6527 GB, free: 0.582 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.3997, allocations: 187 kB / 0.6529 GB, free: 400 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.3999, allocations: 92.81 kB / 0.653 GB, free: 304 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.4, allocations: 97.09 kB / 0.6531 GB, free: 188 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.4001, allocations: 34.56 kB / 0.6531 GB, free: 144 kB / 458.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.4001, allocations: 0 / 0.6531 GB, free: 144 kB / 458.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.004997/0.4051, allocations: 1.532 MB / 0.6546 GB, free: 14.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.4051, allocations: 51.41 kB / 0.6547 GB, free: 14.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.4052, allocations: 117.8 kB / 0.6548 GB, free: 14.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.4052, allocations: 25.7 kB / 0.6548 GB, free: 14.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.4053, allocations: 100.3 kB / 0.6549 GB, free: 14.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.4054, allocations: 78.98 kB / 0.655 GB, free: 14.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.4054, allocations: 0 / 0.655 GB, free: 14.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.504e-05/0.4055, allocations: 322.8 kB / 0.6553 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.4057, allocations: 91.89 kB / 0.6554 GB, free: 13.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.4059, allocations: 124.8 kB / 0.6555 GB, free: 13.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.4061, allocations: 103.9 kB / 0.6556 GB, free: 13.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4061, allocations: 0 / 0.6556 GB, free: 13.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005416/0.4067, allocations: 281.6 kB / 0.6558 GB, free: 13.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4067, allocations: 8 kB / 0.6559 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4067, allocations: 96 / 0.6559 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.4068, allocations: 32.78 kB / 0.6559 GB, free: 13.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.4072, allocations: 51.95 kB / 0.6559 GB, free: 13.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003076/0.4076, allocations: 0.5328 MB / 0.6565 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.4078, allocations: 20.5 kB / 0.6565 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.4079, allocations: 12 kB / 0.6565 GB, free: 12.48 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.0001253/0.408, allocations: 121.8 kB / 0.6566 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.4081, allocations: 11.91 kB / 0.6566 GB, free: 12.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007483/0.4088, allocations: 325.7 kB / 0.6569 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4088, allocations: 4 kB / 0.6569 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4089, allocations: 0.5 kB / 0.6569 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4089, allocations: 0 / 0.6569 GB, free: 12.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4099, allocations: 0.6655 MB / 0.6576 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4099, allocations: 4.875 kB / 0.6576 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.4103, allocations: 55.89 kB / 0.6576 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.203e-05/0.4104, allocations: 16.84 kB / 0.6577 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.4104, allocations: 11.98 kB / 0.6577 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008272/0.4113, allocations: 1.272 MB / 0.6589 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4113, allocations: 0 / 0.6589 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000795/0.4121, allocations: 450.8 kB / 0.6593 GB, free: 9.312 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.4121, allocations: 85.02 kB / 0.6594 GB, free: 9.211 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.4122, allocations: 8.062 kB / 0.6594 GB, free: 9.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.4125, allocations: 11.98 kB / 0.6594 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-05/0.4125, allocations: 11.98 kB / 0.6594 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.4125, allocations: 15.98 kB / 0.6595 GB, free: 9.164 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.57e-05/0.4126, allocations: 87.28 kB / 0.6595 GB, free: 9.078 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4126, allocations: 0 / 0.6595 GB, free: 9.078 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004782/0.4131, allocations: 135.9 kB / 0.6597 GB, free: 8.945 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.0005892/0.4137, allocations: 243.4 kB / 0.6599 GB, free: 8.699 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.4143, allocations: 231.9 kB / 0.6601 GB, free: 8.473 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4143, allocations: 4 kB / 0.6601 GB, free: 8.469 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.4147, allocations: 228.6 kB / 0.6603 GB, free: 8.234 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.4151, allocations: 48.08 kB / 0.6604 GB, free: 8.188 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.4159, allocations: 0.5973 MB / 0.661 GB, free: 7.547 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4162, allocations: 0.7127 MB / 0.6617 GB, free: 6.805 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.4164, allocations: 31.41 kB / 0.6617 GB, free: 6.773 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4164, allocations: 0 / 0.6617 GB, free: 6.773 MB / 474.7 MB Notification: Performance of Templates: time 0.007487/0.4239, allocations: 5.135 MB / 0.6667 GB, free: 1.645 MB / 474.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