Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 109.4 kB / 16.41 MB, free: 6.016 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.001277/0.001277, allocations: 192 kB / 17.34 MB, free: 5.609 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.59/1.59, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2437/0.2437, allocations: 43.52 MB / 314.1 MB, free: 452 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.001625/0.001625, allocations: 65.45 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1411, allocations: 57.78 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5374/0.6785, allocations: 150.6 MB / 0.6349 GB, free: 3.945 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.6802, allocations: 0.979 MB / 0.6359 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.6803, allocations: 0 / 0.6359 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.6808, allocations: 35.75 kB / 0.6359 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000857/0.6816, allocations: 242.7 kB / 0.6362 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.6821, allocations: 116.5 kB / 0.6363 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.6824, allocations: 171.3 kB / 0.6364 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.286e-05/0.6825, allocations: 11.97 kB / 0.6364 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.6827, allocations: 95.56 kB / 0.6365 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.6828, allocations: 47.83 kB / 0.6366 GB, free: 2.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.6829, allocations: 4 kB / 0.6366 GB, free: 2.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.6835, allocations: 262.6 kB / 0.6368 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.6836, allocations: 23.92 kB / 0.6369 GB, free: 1.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.6837, allocations: 39.86 kB / 0.6369 GB, free: 1.949 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.6842, allocations: 287.2 kB / 0.6372 GB, free: 1.676 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6842, allocations: 4 kB / 0.6372 GB, free: 1.672 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.6843, allocations: 0 / 0.6372 GB, free: 1.672 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.6843, allocations: 0 / 0.6372 GB, free: 1.672 MB / 478.1 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.0005988/0.6849, allocations: 411 kB / 0.6376 GB, free: 1.223 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6849, allocations: 11.89 kB / 0.6376 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.6869, allocations: 193.1 kB / 0.6378 GB, free: 1.023 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003221/0.6872, allocations: 208.4 kB / 0.638 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.6873, allocations: 11.94 kB / 0.638 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.6873, allocations: 7.984 kB / 0.638 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.6879, allocations: 231.4 kB / 0.6382 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6879, allocations: 0 / 0.6382 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.6879, allocations: 0 / 0.6382 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6879, allocations: 8 kB / 0.6382 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005119/0.6884, allocations: 167.8 kB / 0.6384 GB, free: 360 kB / 478.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.001207/0.6897, allocations: 0.5642 MB / 0.6389 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.69, allocations: 146.4 kB / 0.6391 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.6902, allocations: 64.83 kB / 0.6391 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.6902, allocations: 4 kB / 0.6391 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.6902, allocations: 38.55 kB / 0.6392 GB, free: 15.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.6902, allocations: 3.938 kB / 0.6392 GB, free: 15.46 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.6956, allocations: 1.296 MB / 0.6404 GB, free: 14.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.6957, allocations: 59.33 kB / 0.6405 GB, free: 14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.6958, allocations: 119.4 kB / 0.6406 GB, free: 13.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.6958, allocations: 25.7 kB / 0.6406 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.6959, allocations: 100.1 kB / 0.6407 GB, free: 13.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.819e-05/0.696, allocations: 75.31 kB / 0.6408 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.6961, allocations: 53.7 kB / 0.6408 GB, free: 13.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6962, allocations: 318.8 kB / 0.6411 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.6964, allocations: 67.95 kB / 0.6412 GB, free: 13.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.6966, allocations: 107.2 kB / 0.6413 GB, free: 13.11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.697, allocations: 183.3 kB / 0.6415 GB, free: 12.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.697, allocations: 0 / 0.6415 GB, free: 12.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005079/0.6975, allocations: 266.2 kB / 0.6417 GB, free: 12.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.6975, allocations: 4 kB / 0.6417 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6975, allocations: 4.094 kB / 0.6417 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.6978, allocations: 48.83 kB / 0.6418 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.6981, allocations: 55.91 kB / 0.6418 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005436/0.6986, allocations: 0.5679 MB / 0.6424 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.6988, allocations: 4 kB / 0.6424 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.6988, allocations: 32.08 kB / 0.6424 GB, free: 11.9 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.0001555/0.699, allocations: 125.7 kB / 0.6426 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.6991, allocations: 7.953 kB / 0.6426 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007552/0.6998, allocations: 344.9 kB / 0.6429 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6998, allocations: 7.922 kB / 0.6429 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.6999, allocations: 7.938 kB / 0.6429 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6999, allocations: 4 kB / 0.6429 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.701, allocations: 0.6153 MB / 0.6435 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.701, allocations: 0 / 0.6435 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.7014, allocations: 64.77 kB / 0.6436 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.096e-05/0.7015, allocations: 28.88 kB / 0.6436 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/0.7015, allocations: 12 kB / 0.6436 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.7026, allocations: 1.364 MB / 0.6449 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.7026, allocations: 0 / 0.6449 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.7033, allocations: 446.7 kB / 0.6454 GB, free: 8.652 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.047e-05/0.7034, allocations: 89.08 kB / 0.6455 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.7035, allocations: 4 kB / 0.6455 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.7037, allocations: 8 kB / 0.6455 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.7037, allocations: 19.97 kB / 0.6455 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.7038, allocations: 33.11 kB / 0.6455 GB, free: 8.484 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.2e-05/0.7038, allocations: 83.28 kB / 0.6456 GB, free: 8.402 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7039, allocations: 4.062 kB / 0.6456 GB, free: 8.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004877/0.7043, allocations: 83.86 kB / 0.6457 GB, free: 8.316 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 (21): * Single equations (assignments): 20 * 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.000388/0.7047, allocations: 158.9 kB / 0.6458 GB, free: 8.148 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007203/0.7055, allocations: 212.2 kB / 0.646 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7055, allocations: 0 / 0.646 GB, free: 7.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.7058, allocations: 218.6 kB / 0.6462 GB, free: 7.715 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.7063, allocations: 47.16 kB / 0.6463 GB, free: 7.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.7075, allocations: 487.5 kB / 0.6467 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.708, allocations: 0.7085 MB / 0.6474 GB, free: 6.422 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.7083, allocations: 77.61 kB / 0.6475 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.7084, allocations: 55.41 kB / 0.6476 GB, free: 6.293 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.7085, allocations: 0 / 0.6476 GB, free: 6.293 MB / 494.1 MB Notification: Performance of Templates: time 0.01137/0.7198, allocations: 5.616 MB / 0.6531 GB, free: 0.6836 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches