Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001393/0.001393, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001534/0.001534, allocations: 207.4 kB / 24.48 MB, free: 3.977 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.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2268/0.2268, allocations: 46.95 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|T|rho|mu|cp|k",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 63.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3271, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01202/0.3392, allocations: 8.054 MB / 0.5697 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01498/0.3541, allocations: 11.47 MB / 0.5809 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.3542, allocations: 0 / 0.5809 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.3544, allocations: 35.75 kB / 0.5809 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005996/0.3603, allocations: 2.142 MB / 0.583 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.228e-06/0.3604, allocations: 0 / 0.583 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.48e-05/0.3604, allocations: 51.66 kB / 0.583 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.3605, allocations: 4 kB / 0.583 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3606, allocations: 27.86 kB / 0.5831 GB, free: 14.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.3607, allocations: 27.84 kB / 0.5831 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.3607, allocations: 0 / 0.5831 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009585/0.3702, allocations: 6.004 MB / 0.589 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.3703, allocations: 7.922 kB / 0.589 GB, free: 8.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.3703, allocations: 15.92 kB / 0.589 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.3826, allocations: 4.787 MB / 0.5937 GB, free: 3.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3826, allocations: 0 / 0.5937 GB, free: 3.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3826, allocations: 0 / 0.5937 GB, free: 3.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3826, allocations: 0 / 0.5937 GB, free: 3.473 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.002469/0.3851, allocations: 0.5657 MB / 0.5942 GB, free: 2.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3851, allocations: 12.03 kB / 0.5942 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3853, allocations: 15.92 kB / 0.5942 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3854, allocations: 101.2 kB / 0.5943 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.3854, allocations: 8 kB / 0.5943 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.3854, allocations: 7.938 kB / 0.5944 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.3858, allocations: 109.6 kB / 0.5945 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3858, allocations: 3.938 kB / 0.5945 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3858, allocations: 4 kB / 0.5945 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3858, allocations: 0 / 0.5945 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003719/0.3861, allocations: 135.8 kB / 0.5946 GB, free: 2.453 MB / 430.1 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.0005891/0.3867, allocations: 292.2 kB / 0.5949 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003143/0.3871, allocations: 74.5 kB / 0.5949 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3872, allocations: 28.84 kB / 0.595 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003285/0.3904, allocations: 0.8701 MB / 0.5958 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.3905, allocations: 34.56 kB / 0.5959 GB, free: 1.109 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.3905, allocations: 112 / 0.5959 GB, free: 1.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006584/0.3911, allocations: 149.5 kB / 0.596 GB, free: 0.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.3912, allocations: 59.39 kB / 0.5961 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.3913, allocations: 101.8 kB / 0.5961 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.3913, allocations: 29.7 kB / 0.5962 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.3913, allocations: 88.03 kB / 0.5963 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3914, allocations: 23.84 kB / 0.5963 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.3914, allocations: 25.72 kB / 0.5963 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3916, allocations: 322.8 kB / 0.5966 GB, free: 280 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.3917, allocations: 23.98 kB / 0.5966 GB, free: 256 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3918, allocations: 41.69 kB / 0.5967 GB, free: 208 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.392, allocations: 65.64 kB / 0.5967 GB, free: 136 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.392, allocations: 0 / 0.5967 GB, free: 136 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003051/0.3923, allocations: 109.6 kB / 0.5968 GB, free: 20 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3923, allocations: 8 kB / 0.5969 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3923, allocations: 0 / 0.5969 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3923, allocations: 0 / 0.5969 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.3925, allocations: 23.97 kB / 0.5969 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3925, allocations: 0 / 0.5969 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.3926, allocations: 15.83 kB / 0.5969 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.3926, allocations: 4 kB / 0.5969 GB, free: 15.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.123e-05/0.3927, allocations: 117.8 kB / 0.597 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.3927, allocations: 4 kB / 0.597 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.3932, allocations: 249.4 kB / 0.5973 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3932, allocations: 7.984 kB / 0.5973 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3932, allocations: 0 / 0.5973 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.3932, allocations: 7.938 kB / 0.5973 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.3935, allocations: 177.1 kB / 0.5974 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3935, allocations: 0 / 0.5974 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.3936, allocations: 19.98 kB / 0.5975 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3936, allocations: 0 / 0.5975 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3936, allocations: 0 / 0.5975 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3936, allocations: 0 / 0.5975 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3936, allocations: 4 kB / 0.5975 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003826/0.394, allocations: 257.7 kB / 0.5977 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.394, allocations: 15.89 kB / 0.5977 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.394, allocations: 4 kB / 0.5977 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.3941, allocations: 7.984 kB / 0.5977 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.3941, allocations: 11.92 kB / 0.5977 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3941, allocations: 8 kB / 0.5977 GB, free: 15.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.122e-05/0.3942, allocations: 79.27 kB / 0.5978 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3942, allocations: 0 / 0.5978 GB, free: 14.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001774/0.3959, allocations: 371 kB / 0.5982 GB, free: 14.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.012/0.4079, allocations: 3.574 MB / 0.6017 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003695/0.4083, allocations: 87.89 kB / 0.6018 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4083, allocations: 0 / 0.6018 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4085, allocations: 64.03 kB / 0.6018 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4088, allocations: 24.06 kB / 0.6018 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.4093, allocations: 258.2 kB / 0.6021 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.498e-05/0.4094, allocations: 83.08 kB / 0.6022 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.4096, allocations: 47.61 kB / 0.6022 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.4096, allocations: 23.42 kB / 0.6022 GB, free: 10.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4096, allocations: 0 / 0.6022 GB, free: 10.38 MB / 446.1 MB Notification: Performance of Templates: time 0.02516/0.4348, allocations: 16.44 MB / 0.6183 GB, free: 9.93 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.340896629000781]