Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_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.001311/0.001311, allocations: 108.1 kB / 18.45 MB, free: 4.578 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.001353/0.001353, allocations: 184.2 kB / 19.38 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 243.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1946/0.1946, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3171, allocations: 60.83 MB / 0.5196 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1613/0.4784, allocations: 149.4 MB / 0.6654 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.48, allocations: 0.9773 MB / 0.6664 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.4801, allocations: 0 / 0.6664 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.4804, allocations: 31.75 kB / 0.6664 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008275/0.4813, allocations: 238.7 kB / 0.6666 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.4817, allocations: 115.6 kB / 0.6667 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.482, allocations: 167.3 kB / 0.6669 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.4821, allocations: 7.984 kB / 0.6669 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.4823, allocations: 87.62 kB / 0.667 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.4825, allocations: 51.78 kB / 0.667 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.4825, allocations: 4 kB / 0.667 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006078/0.4831, allocations: 267.7 kB / 0.6673 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.925e-05/0.4832, allocations: 19.98 kB / 0.6673 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.4832, allocations: 51.78 kB / 0.6674 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006014/0.4839, allocations: 281.1 kB / 0.6676 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4839, allocations: 3.938 kB / 0.6676 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4839, allocations: 0 / 0.6676 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4839, allocations: 0 / 0.6676 GB, free: 3.848 MB / 0.5137 GB 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.0005768/0.4845, allocations: 407.2 kB / 0.668 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4845, allocations: 11.97 kB / 0.668 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.4867, allocations: 188.6 kB / 0.6682 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.4871, allocations: 203.6 kB / 0.6684 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4871, allocations: 8 kB / 0.6684 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.4872, allocations: 11.94 kB / 0.6684 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.4877, allocations: 224 kB / 0.6686 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4877, allocations: 4 kB / 0.6687 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.4878, allocations: 4 kB / 0.6687 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4878, allocations: 3.984 kB / 0.6687 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.4882, allocations: 163.9 kB / 0.6688 GB, free: 2.543 MB / 0.5137 GB 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.00105/0.4893, allocations: 0.591 MB / 0.6694 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.4896, allocations: 138.3 kB / 0.6695 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.4898, allocations: 68.83 kB / 0.6696 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.4898, allocations: 4 kB / 0.6696 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.4898, allocations: 38.5 kB / 0.6696 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.4898, allocations: 0 / 0.6696 GB, free: 1.633 MB / 0.5137 GB 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.005224/0.4951, allocations: 1.3 MB / 0.6709 GB, free: 244 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.4951, allocations: 55.41 kB / 0.671 GB, free: 176 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.825e-05/0.4952, allocations: 113.8 kB / 0.6711 GB, free: 52 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.4952, allocations: 29.7 kB / 0.6711 GB, free: 16 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.4953, allocations: 99.88 kB / 0.6712 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.4954, allocations: 67.09 kB / 0.6713 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.4954, allocations: 45.7 kB / 0.6713 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.4955, allocations: 326.8 kB / 0.6716 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4957, allocations: 67.97 kB / 0.6717 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.4959, allocations: 107.4 kB / 0.6718 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.4962, allocations: 185.4 kB / 0.6719 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4962, allocations: 0 / 0.6719 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004435/0.4966, allocations: 265.3 kB / 0.6722 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4967, allocations: 8 kB / 0.6722 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4967, allocations: 3.938 kB / 0.6722 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.4968, allocations: 48.83 kB / 0.6723 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.4972, allocations: 51.97 kB / 0.6723 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003709/0.4975, allocations: 0.5722 MB / 0.6729 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.4977, allocations: 4.031 kB / 0.6729 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.4978, allocations: 31.98 kB / 0.6729 GB, free: 14.08 MB / 0.5294 GB 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.000112/0.4979, allocations: 121.8 kB / 0.673 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.498, allocations: 7.906 kB / 0.673 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.4986, allocations: 347.2 kB / 0.6734 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.4987, allocations: 3.984 kB / 0.6734 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4987, allocations: 7.922 kB / 0.6734 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4987, allocations: 4 kB / 0.6734 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009055/0.4996, allocations: 0.6189 MB / 0.674 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4996, allocations: 4.094 kB / 0.674 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.4999, allocations: 63.89 kB / 0.674 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.021e-05/0.5, allocations: 24.83 kB / 0.6741 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.5001, allocations: 12 kB / 0.6741 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008507/0.5009, allocations: 1.363 MB / 0.6754 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5009, allocations: 3.938 kB / 0.6754 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000646/0.5016, allocations: 441.9 kB / 0.6758 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.5016, allocations: 89 kB / 0.6759 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.5017, allocations: 4 kB / 0.6759 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.5019, allocations: 8 kB / 0.6759 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.502, allocations: 28.03 kB / 0.676 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.502, allocations: 27.98 kB / 0.676 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.5021, allocations: 87.28 kB / 0.6761 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5021, allocations: 0 / 0.6761 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004088/0.5025, allocations: 87.86 kB / 0.6762 GB, free: 10.48 MB / 0.5294 GB 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.0003624/0.5029, allocations: 147.2 kB / 0.6763 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.5034, allocations: 203.8 kB / 0.6765 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.5034, allocations: 0 / 0.6765 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.5037, allocations: 225.1 kB / 0.6767 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.5042, allocations: 44.19 kB / 0.6767 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007975/0.505, allocations: 0.5047 MB / 0.6772 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.5052, allocations: 0.7085 MB / 0.6779 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.5054, allocations: 55.41 kB / 0.678 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.5054, allocations: 0 / 0.678 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of Templates: time 0.006188/0.5116, allocations: 3.799 MB / 0.6817 GB, free: 4.719 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches