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.001052/0.001052, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001886/0.001886, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 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.8734/0.8734, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1836/0.1836, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 1.813e-06/1.813e-06, allocations: 0 / 347.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.469e-05, allocations: 8.281 kB / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.296/0.296, allocations: 144.2 MB / 491.8 MB, free: 9.523 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.2985, allocations: 3.082 MB / 494.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.2986, allocations: 0 / 494.9 MB, free: 8.953 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.2989, allocations: 59.02 kB / 494.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001787/0.3007, allocations: 1.063 MB / 496 MB, free: 8.383 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.3011, allocations: 204.9 kB / 496.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.3014, allocations: 361.8 kB / 496.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.218e-05/0.3014, allocations: 4.25 kB / 496.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.3017, allocations: 199.7 kB / 496.8 MB, free: 8.133 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3018, allocations: 103.5 kB / 496.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.3019, allocations: 22.53 kB / 496.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.3035, allocations: 1.287 MB / 498.2 MB, free: 7.652 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.3036, allocations: 86.03 kB / 498.3 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.3037, allocations: 79.41 kB / 498.3 MB, free: 7.609 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.3047, allocations: 1.004 MB / 499.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3047, allocations: 3.5 kB / 499.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3047, allocations: 0 / 499.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3047, allocations: 4 kB / 499.3 MB, free: 7.25 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.0006/0.3053, allocations: 0.5743 MB / 499.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3053, allocations: 8.969 kB / 499.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008542/0.3062, allocations: 255.2 kB / 0.4885 GB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3064, allocations: 194.4 kB / 0.4886 GB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3064, allocations: 13.78 kB / 0.4887 GB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.3065, allocations: 28.02 kB / 0.4887 GB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.3068, allocations: 479.6 kB / 0.4891 GB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3068, allocations: 3.938 kB / 0.4891 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.3068, allocations: 10 kB / 0.4891 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3068, allocations: 2.938 kB / 0.4892 GB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002531/0.3071, allocations: 206.9 kB / 0.4893 GB, free: 6.074 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.0009397/0.308, allocations: 0.7609 MB / 0.4901 GB, free: 5.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.3083, allocations: 193 kB / 0.4903 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.854e-05/0.3084, allocations: 89.72 kB / 0.4904 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007288/0.3091, allocations: 306.7 kB / 0.4907 GB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3091, allocations: 39.27 kB / 0.4907 GB, free: 5.316 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.3091, allocations: 0 / 0.4907 GB, free: 5.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.00075/0.3099, allocations: 329.5 kB / 0.491 GB, free: 5.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3099, allocations: 79.8 kB / 0.4911 GB, free: 5.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.791e-05/0.31, allocations: 178.4 kB / 0.4913 GB, free: 4.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.31, allocations: 31.8 kB / 0.4913 GB, free: 4.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.3101, allocations: 164.2 kB / 0.4914 GB, free: 4.746 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.3101, allocations: 114.7 kB / 0.4915 GB, free: 4.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.3102, allocations: 62.56 kB / 0.4916 GB, free: 4.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.3103, allocations: 0.5044 MB / 0.4921 GB, free: 4.133 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.3104, allocations: 57.19 kB / 0.4922 GB, free: 4.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.3105, allocations: 187.6 kB / 0.4923 GB, free: 3.965 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.3107, allocations: 271.9 kB / 0.4926 GB, free: 3.797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3107, allocations: 0 / 0.4926 GB, free: 3.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003226/0.311, allocations: 284.4 kB / 0.4929 GB, free: 3.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3111, allocations: 8.469 kB / 0.4929 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3111, allocations: 2.906 kB / 0.4929 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3111, allocations: 6.938 kB / 0.4929 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.3113, allocations: 73.64 kB / 0.493 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3113, allocations: 9.594 kB / 0.493 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3114, allocations: 28.06 kB / 0.493 GB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.3114, allocations: 19.17 kB / 0.493 GB, free: 3.672 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.417e-05/0.3115, allocations: 176.1 kB / 0.4932 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.3116, allocations: 32.05 kB / 0.4932 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.3119, allocations: 292.1 kB / 0.4935 GB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3119, allocations: 3.062 kB / 0.4935 GB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3119, allocations: 0 / 0.4935 GB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3119, allocations: 3.312 kB / 0.4935 GB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.3122, allocations: 231.5 kB / 0.4937 GB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3122, allocations: 0 / 0.4937 GB, free: 3.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.3124, allocations: 62.36 kB / 0.4938 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3124, allocations: 0 / 0.4938 GB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.3124, allocations: 12.95 kB / 0.4938 GB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3124, allocations: 3.938 kB / 0.4938 GB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3124, allocations: 7.438 kB / 0.4938 GB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.3128, allocations: 0.55 MB / 0.4943 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.3128, allocations: 20.69 kB / 0.4943 GB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.3128, allocations: 11.44 kB / 0.4944 GB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.313, allocations: 17.02 kB / 0.4944 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.313, allocations: 27.77 kB / 0.4944 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.313, allocations: 15.12 kB / 0.4944 GB, free: 2.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.564e-05/0.3131, allocations: 129 kB / 0.4945 GB, free: 2.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3131, allocations: 0 / 0.4945 GB, free: 2.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004849/0.3136, allocations: 225.3 kB / 0.4948 GB, free: 2.645 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.0006455/0.3142, allocations: 444.8 kB / 0.4952 GB, free: 2.422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.3145, allocations: 198 kB / 0.4954 GB, free: 2.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3145, allocations: 4.188 kB / 0.4954 GB, free: 2.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.85e-05/0.3146, allocations: 118.3 kB / 0.4955 GB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.315, allocations: 89.44 kB / 0.4956 GB, free: 2.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/0.3159, allocations: 0.5729 MB / 0.4961 GB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.307e-05/0.3159, allocations: 88.69 kB / 0.4962 GB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001751/0.3161, allocations: 70.98 kB / 0.4963 GB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.3162, allocations: 35.67 kB / 0.4963 GB, free: 1.746 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3162, allocations: 0 / 0.4963 GB, free: 1.746 MB / 362.7 MB Notification: Performance of Templates: time 0.008922/0.3251, allocations: 8.451 MB / 0.5046 GB, free: 10.09 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.6004361235536635]