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.001278/0.001279, allocations: 114.1 kB / 17.08 MB, free: 5.832 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.001334/0.001333, allocations: 196.1 kB / 18.01 MB, free: 4.965 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.588/1.588, allocations: 205.1 MB / 223.9 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.2259/0.2259, allocations: 43.53 MB / 314.8 MB, free: 468 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.001523/0.001523, allocations: 71.83 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1024, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3843/0.4868, allocations: 150.6 MB / 0.6356 GB, free: 3.98 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.4882, allocations: 0.9812 MB / 0.6365 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.4883, allocations: 0 / 0.6365 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.4886, allocations: 31.14 kB / 0.6366 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007209/0.4893, allocations: 248.3 kB / 0.6368 GB, free: 2.754 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.4898, allocations: 124.5 kB / 0.6369 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.4901, allocations: 163.3 kB / 0.6371 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.218e-05/0.4901, allocations: 15.98 kB / 0.6371 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.4904, allocations: 83.69 kB / 0.6372 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.4905, allocations: 51.7 kB / 0.6372 GB, free: 2.324 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.4905, allocations: 8 kB / 0.6372 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005732/0.4911, allocations: 263.7 kB / 0.6375 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.4912, allocations: 15.98 kB / 0.6375 GB, free: 2.043 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.4912, allocations: 47.78 kB / 0.6375 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.4917, allocations: 286.3 kB / 0.6378 GB, free: 1.719 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4918, allocations: 0 / 0.6378 GB, free: 1.719 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4918, allocations: 4 kB / 0.6378 GB, free: 1.715 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4918, allocations: 0 / 0.6378 GB, free: 1.715 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.0005423/0.4923, allocations: 407.2 kB / 0.6382 GB, free: 1.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.4924, allocations: 11.89 kB / 0.6382 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/0.4945, allocations: 193.1 kB / 0.6384 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.4949, allocations: 208.5 kB / 0.6386 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.4949, allocations: 7.938 kB / 0.6386 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.495, allocations: 12 kB / 0.6386 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.4955, allocations: 223.4 kB / 0.6388 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4955, allocations: 0 / 0.6388 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.4955, allocations: 4 kB / 0.6388 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4956, allocations: 4 kB / 0.6388 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004314/0.496, allocations: 175.7 kB / 0.639 GB, free: 408 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.001043/0.497, allocations: 0.5565 MB / 0.6395 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.4974, allocations: 146.5 kB / 0.6397 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.4975, allocations: 70.95 kB / 0.6398 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4976, allocations: 4 kB / 0.6398 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.4976, allocations: 34.56 kB / 0.6398 GB, free: 15.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.4976, allocations: 0 / 0.6398 GB, free: 15.52 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.005317/0.5029, allocations: 1.312 MB / 0.6411 GB, free: 14.11 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.503, allocations: 51.41 kB / 0.6411 GB, free: 14.05 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.5031, allocations: 113.8 kB / 0.6412 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.5031, allocations: 29.7 kB / 0.6413 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.5032, allocations: 99.97 kB / 0.6414 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.5032, allocations: 67.02 kB / 0.6414 GB, free: 13.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-05/0.5033, allocations: 53.69 kB / 0.6415 GB, free: 13.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5034, allocations: 318.8 kB / 0.6418 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.5036, allocations: 71.97 kB / 0.6418 GB, free: 13.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.5038, allocations: 99.25 kB / 0.6419 GB, free: 13.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.5041, allocations: 191.3 kB / 0.6421 GB, free: 12.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5041, allocations: 0 / 0.6421 GB, free: 12.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004807/0.5046, allocations: 262.1 kB / 0.6424 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5046, allocations: 4 kB / 0.6424 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5046, allocations: 0 / 0.6424 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.5048, allocations: 56.91 kB / 0.6424 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.5052, allocations: 47.97 kB / 0.6425 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004023/0.5056, allocations: 0.5718 MB / 0.643 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001746/0.5058, allocations: 8 kB / 0.643 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.5058, allocations: 20 kB / 0.6431 GB, free: 11.97 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.0001267/0.5059, allocations: 133.8 kB / 0.6432 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.506, allocations: 15.81 kB / 0.6432 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007035/0.5067, allocations: 336.9 kB / 0.6435 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5067, allocations: 7.938 kB / 0.6435 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5067, allocations: 0 / 0.6435 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5067, allocations: 3.984 kB / 0.6435 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009514/0.5077, allocations: 0.6191 MB / 0.6441 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5077, allocations: 0.875 kB / 0.6441 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.5081, allocations: 67.89 kB / 0.6442 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.867e-05/0.5081, allocations: 16.94 kB / 0.6442 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.5082, allocations: 19.98 kB / 0.6442 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009113/0.5091, allocations: 1.368 MB / 0.6456 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5091, allocations: 4.031 kB / 0.6456 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.5098, allocations: 438.1 kB / 0.646 GB, free: 8.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.5099, allocations: 96.83 kB / 0.6461 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.5099, allocations: 8 kB / 0.6461 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.5101, allocations: 7.984 kB / 0.6461 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.5102, allocations: 27.97 kB / 0.6461 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.5102, allocations: 20 kB / 0.6462 GB, free: 8.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.963e-05/0.5103, allocations: 91.58 kB / 0.6462 GB, free: 8.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5103, allocations: 3.938 kB / 0.6462 GB, free: 8.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.5107, allocations: 88.06 kB / 0.6463 GB, free: 8.359 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.0003887/0.5111, allocations: 147.1 kB / 0.6465 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004906/0.5116, allocations: 212.2 kB / 0.6467 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5116, allocations: 0 / 0.6467 GB, free: 7.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.512, allocations: 218.6 kB / 0.6469 GB, free: 7.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.5124, allocations: 51.2 kB / 0.6469 GB, free: 7.723 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008329/0.5133, allocations: 0.5015 MB / 0.6474 GB, free: 7.176 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.5136, allocations: 0.7085 MB / 0.6481 GB, free: 6.441 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.5138, allocations: 51.41 kB / 0.6482 GB, free: 6.395 MB / 494.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5138, allocations: 4 kB / 0.6482 GB, free: 6.391 MB / 494.1 MB Notification: Performance of Templates: time 0.006182/0.52, allocations: 3.808 MB / 0.6519 GB, free: 2.59 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/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