Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 103.7 kB / 16.41 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2349/0.2349, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 73.44 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1432, allocations: 57.78 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4681/0.6113, allocations: 150.9 MB / 0.6352 GB, free: 3.824 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.6131, allocations: 1.488 MB / 0.6366 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.6131, allocations: 0 / 0.6366 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.6135, allocations: 54.09 kB / 0.6367 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008272/0.6144, allocations: 388.7 kB / 0.6371 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.6149, allocations: 180.3 kB / 0.6372 GB, free: 1.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.6151, allocations: 179.3 kB / 0.6374 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.6151, allocations: 15.97 kB / 0.6374 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.6153, allocations: 75.7 kB / 0.6375 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.6154, allocations: 55.81 kB / 0.6376 GB, free: 1.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.6155, allocations: 11.94 kB / 0.6376 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009551/0.6164, allocations: 0.5729 MB / 0.6381 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.6165, allocations: 31.97 kB / 0.6382 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.6166, allocations: 59.72 kB / 0.6382 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.6171, allocations: 382.1 kB / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6171, allocations: 0 / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6171, allocations: 0 / 0.6386 GB, free: 392 kB / 478.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.6171, allocations: 4 kB / 0.6386 GB, free: 388 kB / 478.1 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.000529/0.6177, allocations: 430.8 kB / 0.639 GB, free: 15.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.6177, allocations: 11.89 kB / 0.639 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.6197, allocations: 201.1 kB / 0.6392 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.62, allocations: 204.2 kB / 0.6394 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.62, allocations: 8.312 kB / 0.6394 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.62, allocations: 15.91 kB / 0.6394 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004628/0.6205, allocations: 205.4 kB / 0.6396 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.6205, allocations: 0 / 0.6396 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.6206, allocations: 4 kB / 0.6396 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.6206, allocations: 4 kB / 0.6396 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005685/0.6211, allocations: 243.8 kB / 0.6398 GB, free: 14.99 MB / 494.1 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.001572/0.6227, allocations: 0.653 MB / 0.6405 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.6232, allocations: 190.4 kB / 0.6407 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.6234, allocations: 92.81 kB / 0.6408 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.6236, allocations: 93.09 kB / 0.6408 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.6236, allocations: 30.56 kB / 0.6409 GB, free: 13.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.6236, allocations: 0 / 0.6409 GB, free: 13.85 MB / 494.1 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.005385/0.629, allocations: 1.53 MB / 0.6424 GB, free: 12.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.629, allocations: 59.41 kB / 0.6424 GB, free: 12.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.6292, allocations: 109.8 kB / 0.6425 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.6292, allocations: 33.7 kB / 0.6426 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.167e-05/0.6292, allocations: 96.27 kB / 0.6427 GB, free: 11.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.6293, allocations: 70.94 kB / 0.6427 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/0.6294, allocations: 41.7 kB / 0.6428 GB, free: 11.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.6295, allocations: 322.8 kB / 0.6431 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.6298, allocations: 91.95 kB / 0.6432 GB, free: 11.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.63, allocations: 135 kB / 0.6433 GB, free: 11.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.6304, allocations: 223.3 kB / 0.6435 GB, free: 10.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6305, allocations: 0 / 0.6435 GB, free: 10.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006012/0.6311, allocations: 286.2 kB / 0.6438 GB, free: 10.69 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6311, allocations: 7.984 kB / 0.6438 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6311, allocations: 0 / 0.6438 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/0.6312, allocations: 28.94 kB / 0.6438 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.6317, allocations: 55.91 kB / 0.6439 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003369/0.632, allocations: 0.53 MB / 0.6444 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.6323, allocations: 12.02 kB / 0.6444 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.6324, allocations: 8 kB / 0.6444 GB, free: 10.02 MB / 494.1 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.0001205/0.6325, allocations: 137.8 kB / 0.6445 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.6326, allocations: 7.906 kB / 0.6445 GB, free: 9.867 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007261/0.6333, allocations: 322.9 kB / 0.6448 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.6333, allocations: 0 / 0.6448 GB, free: 9.543 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.6333, allocations: 7.922 kB / 0.6448 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6333, allocations: 0 / 0.6448 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.6344, allocations: 0.6831 MB / 0.6455 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6344, allocations: 3.625 kB / 0.6455 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.6348, allocations: 51.95 kB / 0.6456 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.002e-05/0.6349, allocations: 16.84 kB / 0.6456 GB, free: 8.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.635, allocations: 8 kB / 0.6456 GB, free: 8.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009072/0.6359, allocations: 1.367 MB / 0.6469 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6359, allocations: 4.031 kB / 0.6469 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.6367, allocations: 450.8 kB / 0.6474 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.6368, allocations: 88.94 kB / 0.6474 GB, free: 6.621 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.6368, allocations: 11.94 kB / 0.6475 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.6371, allocations: 12.06 kB / 0.6475 GB, free: 6.598 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.6372, allocations: 19.91 kB / 0.6475 GB, free: 6.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.6372, allocations: 8 kB / 0.6475 GB, free: 6.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.014e-05/0.6373, allocations: 91.27 kB / 0.6476 GB, free: 6.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6373, allocations: 0 / 0.6476 GB, free: 6.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005107/0.6378, allocations: 127.9 kB / 0.6477 GB, free: 6.355 MB / 494.1 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.0006174/0.6384, allocations: 251 kB / 0.6479 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000639/0.6391, allocations: 239.3 kB / 0.6482 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.6391, allocations: 0 / 0.6482 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.6395, allocations: 230.6 kB / 0.6484 GB, free: 5.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.64, allocations: 57.48 kB / 0.6484 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009243/0.6409, allocations: 477.1 kB / 0.6489 GB, free: 5.078 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.6412, allocations: 0.7085 MB / 0.6496 GB, free: 4.344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.6415, allocations: 49.39 kB / 0.6496 GB, free: 4.293 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.6416, allocations: 23.42 kB / 0.6497 GB, free: 4.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.6416, allocations: 0 / 0.6497 GB, free: 4.27 MB / 494.1 MB Notification: Performance of Templates: time 0.01018/0.6518, allocations: 6.229 MB / 0.6557 GB, free: 14.05 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches