Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001445/0.001445, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.00231/0.00231, allocations: 208.2 kB / 23.72 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2328/0.2328, allocations: 44.94 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.003215/0.003215, allocations: 75.88 kB / 0.4935 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.4248, allocations: 65.47 MB / 0.5574 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2019/0.6267, allocations: 131.8 MB / 0.6861 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004855/0.6316, allocations: 2.823 MB / 0.6889 GB, free: 384 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.6318, allocations: 0 / 0.6889 GB, free: 384 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.6323, allocations: 51.67 kB / 0.689 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.636, allocations: 1.064 MB / 0.69 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.6366, allocations: 194.9 kB / 0.6902 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006267/0.6373, allocations: 362.6 kB / 0.6905 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.965e-05/0.6373, allocations: 13.3 kB / 0.6905 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004795/0.6378, allocations: 163.4 kB / 0.6907 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.6381, allocations: 103.6 kB / 0.6908 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/0.6382, allocations: 15.94 kB / 0.6908 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003336/0.6415, allocations: 1.316 MB / 0.6921 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.6417, allocations: 75.77 kB / 0.6922 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.6418, allocations: 91.7 kB / 0.6922 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002494/0.6443, allocations: 0.9663 MB / 0.6932 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6443, allocations: 0 / 0.6932 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6443, allocations: 0 / 0.6932 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.6443, allocations: 0 / 0.6932 GB, free: 11.98 MB / 0.5294 GB 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.001478/0.6458, allocations: 493.1 kB / 0.6937 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.6459, allocations: 8.031 kB / 0.6937 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.6475, allocations: 212.6 kB / 0.6939 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.648, allocations: 201.9 kB / 0.6941 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.648, allocations: 12.38 kB / 0.6941 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/0.6481, allocations: 20 kB / 0.6941 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/0.6489, allocations: 0.5619 MB / 0.6946 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.6489, allocations: 0 / 0.6946 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.649, allocations: 4 kB / 0.6946 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.649, allocations: 8 kB / 0.6947 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006844/0.6497, allocations: 403.7 kB / 0.695 GB, free: 9.969 MB / 0.5294 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.00192/0.6516, allocations: 0.7068 MB / 0.6957 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.6521, allocations: 221 kB / 0.6959 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.6523, allocations: 113.7 kB / 0.6961 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/0.654, allocations: 309.9 kB / 0.6963 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.654, allocations: 34.56 kB / 0.6964 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.043e-06/0.654, allocations: 0 / 0.6964 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.001275/0.6553, allocations: 361.8 kB / 0.6967 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.6554, allocations: 81.11 kB / 0.6968 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.6555, allocations: 121.8 kB / 0.6969 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.6555, allocations: 29.7 kB / 0.6969 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.6556, allocations: 116.5 kB / 0.6971 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.6558, allocations: 111 kB / 0.6972 GB, free: 7.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.6559, allocations: 62.03 kB / 0.6972 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.6561, allocations: 326.8 kB / 0.6975 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.6563, allocations: 100.6 kB / 0.6976 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.6566, allocations: 183.5 kB / 0.6978 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.6571, allocations: 301 kB / 0.6981 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.6571, allocations: 3.938 kB / 0.6981 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007085/0.6578, allocations: 337.5 kB / 0.6984 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6578, allocations: 12 kB / 0.6984 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.6578, allocations: 11.88 kB / 0.6984 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.6578, allocations: 4 kB / 0.6984 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.6582, allocations: 75.89 kB / 0.6985 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.6582, allocations: 4 kB / 0.6985 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.6584, allocations: 23.84 kB / 0.6985 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.6585, allocations: 19.98 kB / 0.6986 GB, free: 6.16 MB / 0.5294 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.0001843/0.6587, allocations: 145.7 kB / 0.6987 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.6588, allocations: 15.94 kB / 0.6987 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007065/0.6595, allocations: 330 kB / 0.699 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6595, allocations: 8 kB / 0.699 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6595, allocations: 0 / 0.699 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6595, allocations: 3.984 kB / 0.699 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.6601, allocations: 238.6 kB / 0.6993 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6601, allocations: 4 kB / 0.6993 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.6604, allocations: 55.91 kB / 0.6993 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6604, allocations: 0 / 0.6993 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.6605, allocations: 11.98 kB / 0.6993 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.6605, allocations: 4 kB / 0.6993 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6605, allocations: 0 / 0.6993 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.6613, allocations: 0.5101 MB / 0.6998 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.6614, allocations: 19.84 kB / 0.6999 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.6614, allocations: 8.062 kB / 0.6999 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.6617, allocations: 11.98 kB / 0.6999 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.6618, allocations: 19.97 kB / 0.6999 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.6618, allocations: 24.11 kB / 0.6999 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.159e-05/0.6619, allocations: 87.27 kB / 0.7 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6619, allocations: 0 / 0.7 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001063/0.663, allocations: 231.4 kB / 0.7002 GB, free: 4.395 MB / 0.5294 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.001367/0.6643, allocations: 446.2 kB / 0.7007 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005857/0.6649, allocations: 246.8 kB / 0.7009 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6649, allocations: 0.625 kB / 0.7009 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/0.6651, allocations: 123.9 kB / 0.701 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/0.6658, allocations: 84.33 kB / 0.7011 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.6673, allocations: 0.7199 MB / 0.7018 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.6674, allocations: 127.8 kB / 0.7019 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003247/0.6678, allocations: 69.83 kB / 0.702 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.6679, allocations: 31.42 kB / 0.702 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/0.6679, allocations: 0 / 0.702 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of Templates: time 0.01725/0.6851, allocations: 8.59 MB / 0.7104 GB, free: 10 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 6.114754367619753]