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.001333/0.001333, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001486/0.001486, allocations: 207.2 kB / 23.73 MB, free: 4.379 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.426/1.426, allocations: 230.6 MB / 257.5 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.2248/0.2248, allocations: 46.96 MB / 360.9 MB, free: 4.152 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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 0.4961 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3679, allocations: 66.04 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01331/0.3812, allocations: 8.069 MB / 0.5685 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.3963, allocations: 11.47 MB / 0.5797 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.415e-05/0.3963, allocations: 0 / 0.5797 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.3965, allocations: 35.81 kB / 0.5797 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005802/0.4023, allocations: 2.135 MB / 0.5818 GB, free: 14.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.801e-06/0.4023, allocations: 4 kB / 0.5818 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.996e-05/0.4024, allocations: 51.61 kB / 0.5818 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.4025, allocations: 0 / 0.5818 GB, free: 14.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.4026, allocations: 31.84 kB / 0.5819 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.4027, allocations: 15.94 kB / 0.5819 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.4027, allocations: 0 / 0.5819 GB, free: 14.38 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009466/0.4121, allocations: 6.008 MB / 0.5877 GB, free: 8.355 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.4122, allocations: 7.938 kB / 0.5877 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.838e-05/0.4122, allocations: 23.86 kB / 0.5878 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.4233, allocations: 4.791 MB / 0.5924 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4233, allocations: 0 / 0.5924 GB, free: 3.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4233, allocations: 0 / 0.5924 GB, free: 3.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.4233, allocations: 0 / 0.5924 GB, free: 3.527 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.002939/0.4263, allocations: 0.5619 MB / 0.593 GB, free: 2.934 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.4263, allocations: 12.03 kB / 0.593 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.4264, allocations: 30.56 kB / 0.593 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.4265, allocations: 19.97 kB / 0.5931 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.4266, allocations: 109.2 kB / 0.5932 GB, free: 2.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.4266, allocations: 4 kB / 0.5932 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.4267, allocations: 8 kB / 0.5932 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.427, allocations: 113.5 kB / 0.5933 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.427, allocations: 0 / 0.5933 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.427, allocations: 4 kB / 0.5933 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.427, allocations: 4 kB / 0.5933 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.4274, allocations: 123.9 kB / 0.5934 GB, free: 2.473 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.0006791/0.4281, allocations: 323.7 kB / 0.5937 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.4284, allocations: 70.47 kB / 0.5938 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4285, allocations: 36.78 kB / 0.5938 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003297/0.4318, allocations: 0.8623 MB / 0.5947 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.4318, allocations: 34.56 kB / 0.5947 GB, free: 1.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.4318, allocations: 0 / 0.5947 GB, free: 1.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006586/0.4325, allocations: 149.7 kB / 0.5948 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.4325, allocations: 55.34 kB / 0.5949 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.4326, allocations: 105.8 kB / 0.595 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4326, allocations: 25.7 kB / 0.595 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.4327, allocations: 96.02 kB / 0.5951 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.4327, allocations: 19.8 kB / 0.5951 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.4328, allocations: 25.7 kB / 0.5951 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.433, allocations: 322.8 kB / 0.5955 GB, free: 260 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.751e-05/0.4331, allocations: 23.98 kB / 0.5955 GB, free: 236 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.4332, allocations: 41.69 kB / 0.5955 GB, free: 188 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.4334, allocations: 70.14 kB / 0.5956 GB, free: 112 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4334, allocations: 0 / 0.5956 GB, free: 112 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003237/0.4337, allocations: 113.6 kB / 0.5957 GB, free: 15.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4337, allocations: 4 kB / 0.5957 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4337, allocations: 0 / 0.5957 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.4337, allocations: 0 / 0.5957 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.4338, allocations: 19.94 kB / 0.5957 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.4339, allocations: 0 / 0.5957 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.4339, allocations: 7.953 kB / 0.5957 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.4339, allocations: 8 kB / 0.5957 GB, free: 15.95 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.518e-05/0.434, allocations: 117.7 kB / 0.5958 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.4341, allocations: 12.03 kB / 0.5959 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.4346, allocations: 249.4 kB / 0.5961 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4346, allocations: 4 kB / 0.5961 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4346, allocations: 0 / 0.5961 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4346, allocations: 192 / 0.5961 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.4349, allocations: 208.5 kB / 0.5963 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4349, allocations: 4 kB / 0.5963 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.583e-05/0.435, allocations: 23.92 kB / 0.5963 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.435, allocations: 3.984 kB / 0.5963 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.435, allocations: 4 kB / 0.5963 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.435, allocations: 0 / 0.5963 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.435, allocations: 0 / 0.5963 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.4354, allocations: 257.7 kB / 0.5966 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.4354, allocations: 11.89 kB / 0.5966 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.4355, allocations: 8 kB / 0.5966 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.4355, allocations: 7.984 kB / 0.5966 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.4356, allocations: 7.984 kB / 0.5966 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4356, allocations: 8 kB / 0.5966 GB, free: 14.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.926e-05/0.4356, allocations: 75.28 kB / 0.5967 GB, free: 14.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4356, allocations: 4 kB / 0.5967 GB, free: 14.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002371/0.438, allocations: 374.9 kB / 0.5971 GB, free: 14.53 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.01336/0.4514, allocations: 4.252 MB / 0.6012 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.4517, allocations: 95.83 kB / 0.6013 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4518, allocations: 3.938 kB / 0.6013 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.4519, allocations: 67.97 kB / 0.6014 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.4522, allocations: 18.48 kB / 0.6014 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.4541, allocations: 454.8 kB / 0.6018 GB, free: 9.578 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.126e-05/0.4542, allocations: 83.08 kB / 0.6019 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.4543, allocations: 53.27 kB / 0.6019 GB, free: 9.426 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.802e-05/0.4544, allocations: 31.42 kB / 0.602 GB, free: 9.395 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4544, allocations: 4 kB / 0.602 GB, free: 9.391 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05203/0.5064, allocations: 18.77 MB / 0.6203 GB, free: 6.711 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.96, allocations: 0 / 0.6203 GB, free: 6.711 MB / 462.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] 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: 15.251204391999636]