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.001581/0.001581, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001729/0.001729, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.454/1.454, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2273/0.2273, allocations: 46.93 MB / 357.1 MB, free: 10.32 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.00194/0.00194, allocations: 67.88 kB / 0.4909 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1342, allocations: 65.99 MB / 0.5554 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.0118/0.146, allocations: 8.443 MB / 0.5636 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.1605, allocations: 13.05 MB / 0.5764 GB, free: 324 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.605e-05/0.1606, allocations: 0 / 0.5764 GB, free: 324 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.1608, allocations: 43.78 kB / 0.5764 GB, free: 280 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006466/0.1672, allocations: 2.143 MB / 0.5785 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.943e-06/0.1672, allocations: 3.938 kB / 0.5785 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000116/0.1674, allocations: 47.67 kB / 0.5785 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.1674, allocations: 7.984 kB / 0.5785 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.1676, allocations: 31.86 kB / 0.5786 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.998e-05/0.1676, allocations: 15.92 kB / 0.5786 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1676, allocations: 4 kB / 0.5786 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009907/0.1775, allocations: 6.043 MB / 0.5845 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.1776, allocations: 11.94 kB / 0.5845 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.669e-05/0.1776, allocations: 19.91 kB / 0.5845 GB, free: 7.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/0.1892, allocations: 4.783 MB / 0.5892 GB, free: 3.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1892, allocations: 0 / 0.5892 GB, free: 3.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.959e-06/0.1892, allocations: 3.984 kB / 0.5892 GB, free: 3.137 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1892, allocations: 0 / 0.5892 GB, free: 3.137 MB / 446.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.003061/0.1922, allocations: 0.6372 MB / 0.5898 GB, free: 2.449 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.1923, allocations: 8.031 kB / 0.5898 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.1923, allocations: 42.55 kB / 0.5899 GB, free: 2.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1925, allocations: 8 kB / 0.5899 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1926, allocations: 167 kB / 0.59 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1926, allocations: 7.938 kB / 0.59 GB, free: 2.172 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.1927, allocations: 4 kB / 0.59 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.1931, allocations: 113.6 kB / 0.5902 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1931, allocations: 4 kB / 0.5902 GB, free: 2.047 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1931, allocations: 3.984 kB / 0.5902 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1931, allocations: 4 kB / 0.5902 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00035/0.1934, allocations: 123.9 kB / 0.5903 GB, free: 1.918 MB / 446.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.0006476/0.1941, allocations: 404 kB / 0.5907 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.1944, allocations: 70.53 kB / 0.5907 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.1945, allocations: 28.84 kB / 0.5908 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2652/0.4597, allocations: 2.13 MB / 0.5928 GB, free: 33.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.4597, allocations: 35.64 kB / 0.5929 GB, free: 33.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.4597, allocations: 0 / 0.5929 GB, free: 33.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006998/0.4604, allocations: 146.4 kB / 0.593 GB, free: 33.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.4605, allocations: 51.41 kB / 0.5931 GB, free: 32.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.16e-05/0.4605, allocations: 101.1 kB / 0.5932 GB, free: 32.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.4605, allocations: 28.83 kB / 0.5932 GB, free: 32.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.4606, allocations: 91.61 kB / 0.5933 GB, free: 32.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.4606, allocations: 29.27 kB / 0.5933 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.4606, allocations: 26.75 kB / 0.5933 GB, free: 32.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.4607, allocations: 316.9 kB / 0.5936 GB, free: 32.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/0.4608, allocations: 26.78 kB / 0.5937 GB, free: 32.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.4609, allocations: 38.34 kB / 0.5937 GB, free: 32.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.4611, allocations: 71.42 kB / 0.5938 GB, free: 32.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.4611, allocations: 1.594 kB / 0.5938 GB, free: 32.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002722/0.4613, allocations: 105.8 kB / 0.5939 GB, free: 32.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.4614, allocations: 5.688 kB / 0.5939 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.4614, allocations: 1.375 kB / 0.5939 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4614, allocations: 3.609 kB / 0.5939 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.4615, allocations: 20.12 kB / 0.5939 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4615, allocations: 3.781 kB / 0.5939 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.4615, allocations: 12.38 kB / 0.5939 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.4616, allocations: 5.938 kB / 0.5939 GB, free: 32.34 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 5.563e-05/0.4616, allocations: 114.8 kB / 0.594 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.4617, allocations: 6.875 kB / 0.594 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004174/0.4621, allocations: 260.6 kB / 0.5943 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.4621, allocations: 1.656 kB / 0.5943 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.279e-06/0.4621, allocations: 1.469 kB / 0.5943 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4621, allocations: 0 / 0.5943 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.4623, allocations: 226.9 kB / 0.5945 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4623, allocations: 4.328 kB / 0.5945 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.541e-05/0.4624, allocations: 24.09 kB / 0.5945 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4624, allocations: 0 / 0.5945 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.4624, allocations: 1.688 kB / 0.5945 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4624, allocations: 2 kB / 0.5945 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4624, allocations: 5.812 kB / 0.5945 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.4628, allocations: 254.6 kB / 0.5948 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.4628, allocations: 88.89 kB / 0.5949 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.4628, allocations: 4.359 kB / 0.5949 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-05/0.4629, allocations: 4.734 kB / 0.5949 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.4629, allocations: 12.47 kB / 0.5949 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.4629, allocations: 12.33 kB / 0.5949 GB, free: 31.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.521e-05/0.463, allocations: 78.81 kB / 0.595 GB, free: 31.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.463, allocations: 0 / 0.595 GB, free: 31.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002243/0.4652, allocations: 380.6 kB / 0.5953 GB, free: 31.66 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.01199/0.4772, allocations: 4.247 MB / 0.5995 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.4777, allocations: 92.69 kB / 0.5996 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4777, allocations: 2.156 kB / 0.5996 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.4778, allocations: 57.88 kB / 0.5996 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.4782, allocations: 23.58 kB / 0.5997 GB, free: 29.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.4803, allocations: 449.1 kB / 0.6001 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.4805, allocations: 0.6986 MB / 0.6008 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001429/0.4806, allocations: 51.55 kB / 0.6008 GB, free: 28.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.4807, allocations: 33.27 kB / 0.6008 GB, free: 28.46 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4807, allocations: 0 / 0.6008 GB, free: 28.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05024/0.5309, allocations: 18.13 MB / 0.6185 GB, free: 23.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.362/9.893, allocations: 2.656 kB / 0.6186 GB, free: 23.48 MB / 446.1 MB " [Timeout remaining time 650] (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: 13.292162853991613]