Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001913/0.001913, allocations: 96.3 kB / 21.73 MB, free: 2.707 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.002412/0.002412, allocations: 165.4 kB / 25.02 MB, free: 9.414 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 1.393/1.393, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.829e-06/4.829e-06, allocations: 4 kB / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/3.101e-05, allocations: 6.312 kB / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2735/0.2735, allocations: 130.1 MB / 380.4 MB, free: 3.715 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.278, allocations: 2.732 MB / 383.1 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.68e-05/0.2781, allocations: 4 kB / 383.2 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.2784, allocations: 55.55 kB / 383.2 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00258/0.281, allocations: 1.065 MB / 384.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.2815, allocations: 199.4 kB / 384.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.282, allocations: 358.5 kB / 384.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.2821, allocations: 13.27 kB / 384.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.2824, allocations: 199.4 kB / 385 MB, free: 15.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.2826, allocations: 103.7 kB / 385.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.2826, allocations: 12 kB / 385.1 MB, free: 15 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.2852, allocations: 1.293 MB / 386.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2853, allocations: 79.78 kB / 386.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.2854, allocations: 87.81 kB / 386.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00165/0.2871, allocations: 1.052 MB / 387.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.2871, allocations: 8 kB / 387.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2871, allocations: 0 / 387.7 MB, free: 12.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.2871, allocations: 0 / 387.7 MB, free: 12.47 MB / 330.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.001154/0.2882, allocations: 481.2 kB / 388.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2883, allocations: 11.98 kB / 388.1 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001601/0.2899, allocations: 264.3 kB / 388.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.2902, allocations: 193.5 kB / 388.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.2903, allocations: 12.75 kB / 388.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.2904, allocations: 24.38 kB / 388.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008398/0.2912, allocations: 0.5779 MB / 389.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2912, allocations: 3.938 kB / 389.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.2913, allocations: 8 kB / 389.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.2913, allocations: 4 kB / 389.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006851/0.2919, allocations: 412.3 kB / 389.6 MB, free: 10.4 MB / 330.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.0018/0.2937, allocations: 0.7185 MB / 390.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.2942, allocations: 213.1 kB / 390.5 MB, free: 9.418 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.2944, allocations: 113.7 kB / 390.7 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/0.296, allocations: 310.7 kB / 391 MB, free: 8.996 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.2961, allocations: 34.56 kB / 391 MB, free: 8.953 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.493e-06/0.2961, allocations: 4 kB / 391 MB, free: 8.949 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001338/0.2974, allocations: 382.9 kB / 391.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.2975, allocations: 85.05 kB / 391.5 MB, free: 8.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2976, allocations: 121.7 kB / 391.6 MB, free: 8.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.2977, allocations: 33.7 kB / 391.6 MB, free: 8.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/0.2977, allocations: 112.6 kB / 391.7 MB, free: 8.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.2979, allocations: 111 kB / 391.8 MB, free: 8.078 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.298, allocations: 62.02 kB / 391.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2982, allocations: 322.8 kB / 392.2 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.2984, allocations: 100.6 kB / 392.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.2987, allocations: 183.5 kB / 392.5 MB, free: 7.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.2993, allocations: 300.5 kB / 392.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2993, allocations: 0 / 392.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000739/0.3, allocations: 361.1 kB / 393.1 MB, free: 6.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3, allocations: 8.625 kB / 393.1 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.3, allocations: 8.25 kB / 393.1 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.3, allocations: 11.94 kB / 393.1 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.3004, allocations: 72.47 kB / 393.2 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3004, allocations: 8 kB / 393.2 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.3007, allocations: 31.77 kB / 393.3 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.3007, allocations: 16 kB / 393.3 MB, free: 6.539 MB / 330.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 0.0001676/0.3009, allocations: 141.8 kB / 393.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.301, allocations: 31.84 kB / 393.4 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007698/0.3018, allocations: 330.7 kB / 393.8 MB, free: 6.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3018, allocations: 4 kB / 393.8 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3018, allocations: 0 / 393.8 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.3018, allocations: 0 / 393.8 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005604/0.3024, allocations: 239 kB / 394 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3024, allocations: 0 / 394 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.3027, allocations: 59.89 kB / 394.1 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3027, allocations: 4 kB / 394.1 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.3028, allocations: 8 kB / 394.1 MB, free: 5.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3028, allocations: 3.938 kB / 394.1 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3028, allocations: 4 kB / 394.1 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.3037, allocations: 0.5122 MB / 394.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.3037, allocations: 15.89 kB / 394.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3038, allocations: 16 kB / 394.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.3041, allocations: 11.98 kB / 394.6 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.106e-05/0.3042, allocations: 23.95 kB / 394.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.986e-05/0.3042, allocations: 16 kB / 394.7 MB, free: 5.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.968e-05/0.3043, allocations: 88.98 kB / 394.8 MB, free: 4.996 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3043, allocations: 4 kB / 394.8 MB, free: 4.992 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008094/0.3051, allocations: 227.4 kB / 395 MB, free: 4.77 MB / 330.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.001329/0.3064, allocations: 450.3 kB / 395.4 MB, free: 4.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005621/0.307, allocations: 247.7 kB / 395.7 MB, free: 4.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.307, allocations: 0 / 395.7 MB, free: 4.078 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.3072, allocations: 124.4 kB / 395.8 MB, free: 3.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/0.3079, allocations: 96.56 kB / 395.9 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3091, allocations: 0.5885 MB / 396.5 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.3092, allocations: 119.9 kB / 396.6 MB, free: 3.121 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003222/0.3095, allocations: 77.77 kB / 396.7 MB, free: 3.043 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.3097, allocations: 28.5 kB / 396.7 MB, free: 3.016 MB / 330.7 MB Notification: Performance of SimCode: time 4.5e-07/0.3097, allocations: 4 kB / 396.7 MB, free: 3.012 MB / 330.7 MB Notification: Performance of Templates: time 0.01675/0.3264, allocations: 8.508 MB / 405.2 MB, free: 10.52 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 4.907253206940368]