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.001165/0.001165, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001402/0.001402, allocations: 173 kB / 24.25 MB, free: 312 kB / 18.57 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 0.9745/0.9745, allocations: 158.6 MB / 186 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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.1491/0.1491, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 347.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.379e-05/3.616e-05, allocations: 4.281 kB / 347.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3191/0.3192, allocations: 143.9 MB / 491.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.3214, allocations: 3.084 MB / 494.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.3215, allocations: 3.031 kB / 494.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.3218, allocations: 49.62 kB / 494.7 MB, free: 8.688 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.3231, allocations: 1.064 MB / 495.7 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.3234, allocations: 207.5 kB / 495.9 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.3236, allocations: 352 kB / 496.3 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.3237, allocations: 11.61 kB / 496.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.3239, allocations: 194.7 kB / 496.5 MB, free: 7.906 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.324, allocations: 104.3 kB / 496.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.324, allocations: 15.38 kB / 496.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.3254, allocations: 1.294 MB / 497.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.3255, allocations: 80.22 kB / 498 MB, free: 7.402 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.3255, allocations: 86.73 kB / 498.1 MB, free: 7.383 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008995/0.3264, allocations: 1.002 MB / 499.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3264, allocations: 0 / 499.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3264, allocations: 0 / 499.1 MB, free: 7.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3264, allocations: 7.062 kB / 499.1 MB, free: 7.023 MB / 362.7 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.0005575/0.327, allocations: 0.5784 MB / 499.6 MB, free: 6.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.327, allocations: 11.09 kB / 499.6 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008947/0.3279, allocations: 252.5 kB / 499.9 MB, free: 6.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3282, allocations: 193.2 kB / 0.4884 GB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3282, allocations: 12.88 kB / 0.4884 GB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.3283, allocations: 21.53 kB / 0.4884 GB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.3287, allocations: 479.2 kB / 0.4889 GB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3287, allocations: 7.922 kB / 0.4889 GB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.3287, allocations: 9.688 kB / 0.4889 GB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3287, allocations: 5.531 kB / 0.4889 GB, free: 5.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003156/0.3291, allocations: 207.2 kB / 0.4891 GB, free: 5.848 MB / 362.7 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.001047/0.3301, allocations: 0.756 MB / 0.4898 GB, free: 5.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.3304, allocations: 199.7 kB / 0.49 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3305, allocations: 86.05 kB / 0.4901 GB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008233/0.3313, allocations: 306.1 kB / 0.4904 GB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.3313, allocations: 39.86 kB / 0.4904 GB, free: 5.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.914e-06/0.3313, allocations: 0 / 0.4904 GB, free: 5.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007987/0.3321, allocations: 328.5 kB / 0.4907 GB, free: 4.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.3321, allocations: 88.45 kB / 0.4908 GB, free: 4.875 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.3322, allocations: 176.8 kB / 0.491 GB, free: 4.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3322, allocations: 32.88 kB / 0.491 GB, free: 4.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.3323, allocations: 160 kB / 0.4912 GB, free: 4.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.3323, allocations: 114.2 kB / 0.4913 GB, free: 4.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.3324, allocations: 65.09 kB / 0.4913 GB, free: 4.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.45e-05/0.3324, allocations: 0.4937 MB / 0.4918 GB, free: 3.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.3325, allocations: 62.58 kB / 0.4919 GB, free: 3.898 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3327, allocations: 186.7 kB / 0.4921 GB, free: 3.738 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.3329, allocations: 268.6 kB / 0.4923 GB, free: 3.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3329, allocations: 2.969 kB / 0.4923 GB, free: 3.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003843/0.3333, allocations: 290.9 kB / 0.4926 GB, free: 3.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3333, allocations: 5.438 kB / 0.4926 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3333, allocations: 2.75 kB / 0.4926 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3333, allocations: 9.625 kB / 0.4926 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.3335, allocations: 69.75 kB / 0.4927 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.3336, allocations: 6.984 kB / 0.4927 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.3337, allocations: 31 kB / 0.4927 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.3337, allocations: 14.78 kB / 0.4927 GB, free: 3.449 MB / 362.7 MB 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 7.546e-05/0.3338, allocations: 180.1 kB / 0.4929 GB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/0.3339, allocations: 33.12 kB / 0.4929 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.3343, allocations: 287.6 kB / 0.4932 GB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3343, allocations: 2.375 kB / 0.4932 GB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3343, allocations: 0 / 0.4932 GB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3343, allocations: 3.984 kB / 0.4932 GB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.3346, allocations: 235.5 kB / 0.4934 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3347, allocations: 0 / 0.4934 GB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.3349, allocations: 54.12 kB / 0.4935 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.3349, allocations: 0 / 0.4935 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.3349, allocations: 12.56 kB / 0.4935 GB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3349, allocations: 7.938 kB / 0.4935 GB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3349, allocations: 10.95 kB / 0.4935 GB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.3354, allocations: 0.5535 MB / 0.4941 GB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.3354, allocations: 20.81 kB / 0.4941 GB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.3354, allocations: 10.41 kB / 0.4941 GB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.3356, allocations: 13.05 kB / 0.4941 GB, free: 2.594 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.3357, allocations: 23.5 kB / 0.4941 GB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.3357, allocations: 15.95 kB / 0.4941 GB, free: 2.578 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.724e-05/0.3357, allocations: 128.8 kB / 0.4943 GB, free: 2.457 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3357, allocations: 3.938 kB / 0.4943 GB, free: 2.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005812/0.3363, allocations: 228.4 kB / 0.4945 GB, free: 2.414 MB / 362.7 MB 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.0007352/0.337, allocations: 440.5 kB / 0.4949 GB, free: 2.195 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.3373, allocations: 201.1 kB / 0.4951 GB, free: 2.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3373, allocations: 4.062 kB / 0.4951 GB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3374, allocations: 125.2 kB / 0.4952 GB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.338, allocations: 82.73 kB / 0.4953 GB, free: 2.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.339, allocations: 0.5728 MB / 0.4959 GB, free: 1.652 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.3391, allocations: 83.7 kB / 0.4959 GB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.3393, allocations: 74.75 kB / 0.496 GB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.3394, allocations: 29.12 kB / 0.496 GB, free: 1.523 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3394, allocations: 0 / 0.496 GB, free: 1.523 MB / 362.7 MB Notification: Performance of Templates: time 0.01079/0.3502, allocations: 8.452 MB / 0.5043 GB, free: 9.977 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.63334805611521]