Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 112.7 kB / 17.08 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.00167/0.00167, allocations: 199 kB / 18.01 MB, free: 5.094 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.384/1.384, allocations: 205.1 MB / 223.9 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.2453/0.2453, allocations: 43.52 MB / 314.8 MB, free: 472 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.001416/0.001416, allocations: 71.89 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1418, allocations: 57.79 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.7099/0.8517, allocations: 179.7 MB / 0.664 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008056/0.8598, allocations: 5.74 MB / 0.6696 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007188/0.8606, allocations: 19.88 kB / 0.6696 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.8617, allocations: 318 kB / 0.6699 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004279/0.866, allocations: 1.57 MB / 0.6715 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.8695, allocations: 1.248 MB / 0.6727 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.872, allocations: 1.848 MB / 0.6745 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006843/0.8727, allocations: 460.7 kB / 0.6749 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.8757, allocations: 1.218 MB / 0.6761 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.877, allocations: 0.7587 MB / 0.6769 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.8772, allocations: 60 kB / 0.6769 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.8791, allocations: 0.823 MB / 0.6777 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.8794, allocations: 271.3 kB / 0.678 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.8799, allocations: 402.2 kB / 0.6784 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.8819, allocations: 1.418 MB / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8819, allocations: 0 / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.882, allocations: 0 / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.882, allocations: 0 / 0.6797 GB, free: 6.691 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002317/0.8843, allocations: 1.133 MB / 0.6808 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8843, allocations: 15.89 kB / 0.6809 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000826/0.8852, allocations: 135 kB / 0.681 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/0.8861, allocations: 0.543 MB / 0.6815 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.8862, allocations: 104.4 kB / 0.6816 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.8863, allocations: 51.98 kB / 0.6817 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.8876, allocations: 0.8058 MB / 0.6825 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.8876, allocations: 4 kB / 0.6825 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.106e-05/0.8877, allocations: 20 kB / 0.6825 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.55e-05/0.8878, allocations: 48.91 kB / 0.6825 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.8888, allocations: 0.6127 MB / 0.6831 GB, free: 3.051 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.00459/0.8934, allocations: 3.973 MB / 0.687 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.894, allocations: 352.8 kB / 0.6873 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.8943, allocations: 173.3 kB / 0.6875 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004665/0.8947, allocations: 370 kB / 0.6879 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.8948, allocations: 38.83 kB / 0.6879 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/0.8948, allocations: 0 / 0.6879 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005468/0.9003, allocations: 1.667 MB / 0.6895 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.9004, allocations: 140.4 kB / 0.6897 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/0.9011, allocations: 0.6132 MB / 0.6903 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.9012, allocations: 37.7 kB / 0.6903 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.9015, allocations: 362.9 kB / 0.6906 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.9016, allocations: 141.9 kB / 0.6908 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.9018, allocations: 158.5 kB / 0.6909 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.902, allocations: 370.8 kB / 0.6913 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.9024, allocations: 205.9 kB / 0.6915 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.9029, allocations: 0.5164 MB / 0.692 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009327/0.9039, allocations: 0.7523 MB / 0.6927 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.9039, allocations: 7.938 kB / 0.6927 GB, free: 8.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001381/0.9053, allocations: 0.8727 MB / 0.6936 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.9053, allocations: 8 kB / 0.6936 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.9053, allocations: 15.98 kB / 0.6936 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.9067, allocations: 308.6 kB / 0.6939 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.9071, allocations: 123.8 kB / 0.694 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001129/0.9082, allocations: 0.9308 MB / 0.6949 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.9087, allocations: 28 kB / 0.6949 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.68e-05/0.9088, allocations: 64.03 kB / 0.695 GB, free: 6.098 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003463/0.9092, allocations: 249.5 kB / 0.6952 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.9093, allocations: 71.81 kB / 0.6953 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.9107, allocations: 0.6878 MB / 0.696 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.9107, allocations: 4 kB / 0.696 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9107, allocations: 0 / 0.696 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.9107, allocations: 0 / 0.696 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.9129, allocations: 1.61 MB / 0.6976 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.9129, allocations: 3.938 kB / 0.6976 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.9139, allocations: 207.8 kB / 0.6978 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.805e-05/0.914, allocations: 24.84 kB / 0.6978 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.782e-05/0.9141, allocations: 24.11 kB / 0.6978 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.9163, allocations: 2.877 MB / 0.7006 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.9163, allocations: 0 / 0.7006 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.9176, allocations: 0.8128 MB / 0.7014 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.9179, allocations: 196.2 kB / 0.7016 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.918, allocations: 8 kB / 0.7016 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.9184, allocations: 16 kB / 0.7016 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.9186, allocations: 39.89 kB / 0.7017 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.78e-05/0.9187, allocations: 47.97 kB / 0.7017 GB, free: 14.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006038/0.9193, allocations: 443 kB / 0.7021 GB, free: 14.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9193, allocations: 0 / 0.7021 GB, free: 14.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001065/0.9204, allocations: 292 kB / 0.7024 GB, free: 14.01 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001065/0.9214, allocations: 375 kB / 0.7028 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001188/0.9226, allocations: 0.5434 MB / 0.7033 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9226, allocations: 0 / 0.7033 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000999/0.9237, allocations: 410.5 kB / 0.7037 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.9254, allocations: 374.1 kB / 0.704 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/0.9279, allocations: 1.343 MB / 0.7054 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.9285, allocations: 0.9299 MB / 0.7063 GB, free: 9.973 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.9288, allocations: 111.4 kB / 0.7064 GB, free: 9.863 MB / 0.545 GB Notification: Performance of SimCode: time 1.923e-06/0.9288, allocations: 0 / 0.7064 GB, free: 9.863 MB / 0.545 GB Notification: Performance of Templates: time 0.02656/0.9554, allocations: 17.01 MB / 0.723 GB, free: 8.852 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches