Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 78.88 kB / 20.52 MB, free: 1.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 163.7 kB / 23.76 MB, free: 4.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2444/0.2444, allocations: 32.38 MB / 270.1 MB, free: 2.699 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 67.91 kB / 407.7 MB, free: 5.547 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1509, allocations: 61.04 MB / 468.8 MB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4971/0.648, allocations: 130 MB / 0.5848 GB, free: 7.16 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.652, allocations: 2.733 MB / 0.5874 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.652, allocations: 0 / 0.5874 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.6524, allocations: 55.66 kB / 0.5875 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.6548, allocations: 1.035 MB / 0.5885 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.6554, allocations: 192.9 kB / 0.5887 GB, free: 3.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.6559, allocations: 370.6 kB / 0.589 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/0.6559, allocations: 5.312 kB / 0.5891 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.6562, allocations: 155.4 kB / 0.5892 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.6564, allocations: 107.6 kB / 0.5893 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.6565, allocations: 17.97 kB / 0.5893 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.6591, allocations: 1.279 MB / 0.5906 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.6592, allocations: 79.77 kB / 0.5906 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.6593, allocations: 95.64 kB / 0.5907 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.6608, allocations: 0.9425 MB / 0.5917 GB, free: 136 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6608, allocations: 0 / 0.5917 GB, free: 136 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6608, allocations: 0 / 0.5917 GB, free: 136 kB / 494.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.6608, allocations: 4 kB / 0.5917 GB, free: 132 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000942/0.6618, allocations: 482.2 kB / 0.5921 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6618, allocations: 8.031 kB / 0.5921 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.6632, allocations: 208.6 kB / 0.5923 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.6636, allocations: 190.2 kB / 0.5925 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.6636, allocations: 16.94 kB / 0.5925 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.224e-05/0.6637, allocations: 19.94 kB / 0.5925 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/0.6644, allocations: 0.5733 MB / 0.5931 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.6645, allocations: 1.062 kB / 0.5931 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.6645, allocations: 8 kB / 0.5931 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.6645, allocations: 4 kB / 0.5931 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006192/0.6651, allocations: 419.6 kB / 0.5935 GB, free: 14.11 MB / 0.4981 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.001709/0.6668, allocations: 0.7068 MB / 0.5942 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.6673, allocations: 220.4 kB / 0.5944 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.6675, allocations: 113.7 kB / 0.5945 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/0.669, allocations: 305.8 kB / 0.5948 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.669, allocations: 42.5 kB / 0.5949 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.563e-06/0.669, allocations: 0 / 0.5949 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.001254/0.6703, allocations: 367.8 kB / 0.5952 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.6704, allocations: 81.11 kB / 0.5953 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.6705, allocations: 121.7 kB / 0.5954 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.6705, allocations: 29.7 kB / 0.5954 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.865e-05/0.6706, allocations: 115 kB / 0.5955 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.6707, allocations: 119 kB / 0.5957 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.6708, allocations: 58.03 kB / 0.5957 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.671, allocations: 326.8 kB / 0.596 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.6712, allocations: 100.5 kB / 0.5961 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002721/0.6714, allocations: 191.8 kB / 0.5963 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.672, allocations: 296.3 kB / 0.5966 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.672, allocations: 8 kB / 0.5966 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006424/0.6726, allocations: 342.3 kB / 0.5969 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6726, allocations: 4 kB / 0.5969 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.6726, allocations: 4 kB / 0.5969 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.6727, allocations: 4 kB / 0.5969 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.673, allocations: 72.2 kB / 0.597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.673, allocations: 8 kB / 0.597 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.6733, allocations: 31.78 kB / 0.597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.6733, allocations: 23.97 kB / 0.5971 GB, free: 10.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.6735, allocations: 137.7 kB / 0.5972 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.6736, allocations: 23.84 kB / 0.5972 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000712/0.6743, allocations: 319.7 kB / 0.5975 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.6743, allocations: 4 kB / 0.5975 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6743, allocations: 0 / 0.5975 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6743, allocations: 7.984 kB / 0.5975 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.6748, allocations: 235 kB / 0.5978 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6748, allocations: 0 / 0.5978 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.6752, allocations: 59.97 kB / 0.5978 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.6752, allocations: 3.938 kB / 0.5978 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.6752, allocations: 15.92 kB / 0.5978 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6752, allocations: 0 / 0.5978 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6752, allocations: 4 kB / 0.5978 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008771/0.6761, allocations: 0.5117 MB / 0.5983 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.6761, allocations: 19.78 kB / 0.5984 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.6762, allocations: 9.562 kB / 0.5984 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.6765, allocations: 15.98 kB / 0.5984 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.6765, allocations: 23.97 kB / 0.5984 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.6766, allocations: 11.98 kB / 0.5984 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.095e-05/0.6766, allocations: 95.25 kB / 0.5985 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6766, allocations: 0 / 0.5985 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007885/0.6774, allocations: 227.4 kB / 0.5987 GB, free: 8.551 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.6784, allocations: 426.3 kB / 0.5991 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005883/0.679, allocations: 252.7 kB / 0.5994 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.679, allocations: 0 / 0.5994 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.6792, allocations: 123.8 kB / 0.5995 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.6799, allocations: 91.58 kB / 0.5996 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.6811, allocations: 0.7216 MB / 0.6003 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.6813, allocations: 131.8 kB / 0.6004 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002821/0.6816, allocations: 68.16 kB / 0.6005 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.324e-05/0.6817, allocations: 28.44 kB / 0.6005 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.6817, allocations: 4 kB / 0.6005 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.01614/0.6978, allocations: 8.292 MB / 0.6086 GB, free: 14.45 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.900267174001783]