Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009681/0.0009682, allocations: 191.5 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000781/0.000781, allocations: 95.78 kB / 299.8 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2964/0.2964, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002395, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.259, allocations: 63.1 MB / 0.5214 GB, free: 38.46 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1353/0.3943, allocations: 138.2 MB / 0.6564 GB, free: 12.25 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.3966, allocations: 2.625 MB / 0.6589 GB, free: 9.367 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.3967, allocations: 0 / 0.6589 GB, free: 9.367 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.397, allocations: 55.78 kB / 0.659 GB, free: 9.312 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008459/0.3978, allocations: 366.4 kB / 0.6593 GB, free: 8.953 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.3983, allocations: 155.5 kB / 0.6595 GB, free: 8.801 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.3986, allocations: 243.2 kB / 0.6597 GB, free: 8.562 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.3986, allocations: 4 kB / 0.6597 GB, free: 8.559 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.3988, allocations: 73.86 kB / 0.6598 GB, free: 8.488 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.3989, allocations: 63.7 kB / 0.6598 GB, free: 8.426 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3989, allocations: 8 kB / 0.6598 GB, free: 8.418 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.4001, allocations: 0.7094 MB / 0.6605 GB, free: 7.707 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.4002, allocations: 31.89 kB / 0.6606 GB, free: 7.676 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.4003, allocations: 73.5 kB / 0.6606 GB, free: 7.598 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000722/0.401, allocations: 446.9 kB / 0.6611 GB, free: 7.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.401, allocations: 0 / 0.6611 GB, free: 7.16 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.401, allocations: 3.938 kB / 0.6611 GB, free: 7.156 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.401, allocations: 0 / 0.6611 GB, free: 7.156 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.000569/0.4016, allocations: 419.4 kB / 0.6615 GB, free: 6.699 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4017, allocations: 12.03 kB / 0.6615 GB, free: 6.688 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.4037, allocations: 192.6 kB / 0.6617 GB, free: 6.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.4039, allocations: 203.8 kB / 0.6619 GB, free: 6.262 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.404, allocations: 8 kB / 0.6619 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.404, allocations: 15.91 kB / 0.6619 GB, free: 6.238 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.4045, allocations: 205.4 kB / 0.6621 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4045, allocations: 0 / 0.6621 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.4046, allocations: 4 kB / 0.6621 GB, free: 6.027 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.4046, allocations: 7.938 kB / 0.6621 GB, free: 6.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005639/0.4052, allocations: 229 kB / 0.6623 GB, free: 5.797 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.001589/0.4068, allocations: 0.6744 MB / 0.663 GB, free: 5.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.4072, allocations: 186.4 kB / 0.6631 GB, free: 4.879 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4074, allocations: 88.81 kB / 0.6632 GB, free: 4.789 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.4075, allocations: 89.34 kB / 0.6633 GB, free: 4.684 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.4076, allocations: 42.56 kB / 0.6634 GB, free: 4.633 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.4076, allocations: 0 / 0.6634 GB, free: 4.633 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.005247/0.4128, allocations: 1.536 MB / 0.6649 GB, free: 2.98 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.4129, allocations: 55.39 kB / 0.6649 GB, free: 2.914 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.57e-05/0.413, allocations: 109.8 kB / 0.665 GB, free: 2.797 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.413, allocations: 29.7 kB / 0.665 GB, free: 2.762 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.4131, allocations: 96.33 kB / 0.6651 GB, free: 2.664 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.4132, allocations: 70.94 kB / 0.6652 GB, free: 2.594 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.4132, allocations: 4 kB / 0.6652 GB, free: 2.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4133, allocations: 326.8 kB / 0.6655 GB, free: 2.262 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.4135, allocations: 83.95 kB / 0.6656 GB, free: 2.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.4138, allocations: 129.8 kB / 0.6657 GB, free: 2.043 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.4143, allocations: 230.1 kB / 0.6659 GB, free: 1.809 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4143, allocations: 3.938 kB / 0.6659 GB, free: 1.805 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000594/0.4149, allocations: 278.2 kB / 0.6662 GB, free: 1.523 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4149, allocations: 8 kB / 0.6662 GB, free: 1.516 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4149, allocations: 4.094 kB / 0.6662 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.415, allocations: 24.84 kB / 0.6662 GB, free: 1.484 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.4155, allocations: 59.89 kB / 0.6663 GB, free: 1.426 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003245/0.4158, allocations: 0.5329 MB / 0.6668 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.4161, allocations: 12.06 kB / 0.6668 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.4161, allocations: 19.98 kB / 0.6669 GB, free: 0.8359 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.4163, allocations: 121.8 kB / 0.667 GB, free: 0.707 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.4163, allocations: 15.81 kB / 0.667 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007565/0.4171, allocations: 311.1 kB / 0.6673 GB, free: 384 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4171, allocations: 4 kB / 0.6673 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.4171, allocations: 0 / 0.6673 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4171, allocations: 0 / 0.6673 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.4182, allocations: 0.668 MB / 0.6679 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4182, allocations: 7.938 kB / 0.6679 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.4186, allocations: 47.95 kB / 0.668 GB, free: 15.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-05/0.4187, allocations: 20.84 kB / 0.668 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.4187, allocations: 11.98 kB / 0.668 GB, free: 15.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008592/0.4196, allocations: 1.268 MB / 0.6693 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4196, allocations: 4.25 kB / 0.6693 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008267/0.4205, allocations: 451.3 kB / 0.6697 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.4205, allocations: 93.02 kB / 0.6698 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.4206, allocations: 4 kB / 0.6698 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.4209, allocations: 7.984 kB / 0.6698 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.4209, allocations: 15.98 kB / 0.6698 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.894e-05/0.421, allocations: 15.92 kB / 0.6698 GB, free: 13.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.723e-05/0.4211, allocations: 99.23 kB / 0.6699 GB, free: 13.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4211, allocations: 0 / 0.6699 GB, free: 13.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005452/0.4216, allocations: 127.9 kB / 0.67 GB, free: 13.3 MB / 490.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007091/0.4223, allocations: 263.6 kB / 0.6703 GB, free: 13.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005883/0.4229, allocations: 235.6 kB / 0.6705 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.423, allocations: 0 / 0.6705 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.4233, allocations: 226.6 kB / 0.6707 GB, free: 12.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.4238, allocations: 56.2 kB / 0.6708 GB, free: 12.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009485/0.4248, allocations: 0.5834 MB / 0.6714 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.425, allocations: 0.7049 MB / 0.672 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004061/0.4254, allocations: 53.39 kB / 0.6721 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.4256, allocations: 23.42 kB / 0.6721 GB, free: 11.09 MB / 490.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4256, allocations: 4 kB / 0.6721 GB, free: 11.08 MB / 490.7 MB Notification: Performance of Templates: time 0.009734/0.4353, allocations: 6.025 MB / 0.678 GB, free: 5.062 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches