Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008205/0.0008205, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8648/0.8648, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2388/0.2388, allocations: 34.23 MB / 294.8 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_phX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.641e-05, allocations: 4.391 kB / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.1955/0.1955, allocations: 8.032 MB / 450.2 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006465/0.202, allocations: 11.46 MB / 461.6 MB, free: 33.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.202, allocations: 0 / 461.6 MB, free: 33.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.2021, allocations: 36.03 kB / 461.7 MB, free: 33.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.2049, allocations: 2.166 MB / 463.8 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.919e-06/0.205, allocations: 0 / 463.8 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.205, allocations: 58.09 kB / 463.9 MB, free: 32.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.2051, allocations: 8.438 kB / 463.9 MB, free: 32.17 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.2052, allocations: 34.31 kB / 463.9 MB, free: 32.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.359e-05/0.2052, allocations: 14.16 kB / 463.9 MB, free: 32.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.2052, allocations: 0 / 463.9 MB, free: 32.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004119/0.2093, allocations: 5.892 MB / 469.8 MB, free: 31.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.2093, allocations: 3.938 kB / 469.8 MB, free: 31.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.312e-05/0.2094, allocations: 17.67 kB / 469.9 MB, free: 31.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00484/0.2142, allocations: 5.062 MB / 474.9 MB, free: 30.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2142, allocations: 0 / 474.9 MB, free: 30.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.2142, allocations: 2.844 kB / 474.9 MB, free: 30.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2142, allocations: 0 / 474.9 MB, free: 30.73 MB / 410.7 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.001393/0.2156, allocations: 0.5676 MB / 475.5 MB, free: 30.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2157, allocations: 9.156 kB / 475.5 MB, free: 30.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.766e-05/0.2157, allocations: 34.56 kB / 475.5 MB, free: 30.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.2158, allocations: 13.73 kB / 475.5 MB, free: 30.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.558e-05/0.2158, allocations: 108.3 kB / 475.6 MB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.2159, allocations: 7.188 kB / 475.7 MB, free: 30.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.2159, allocations: 3.188 kB / 475.7 MB, free: 30.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.2161, allocations: 110.4 kB / 475.8 MB, free: 30.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2161, allocations: 2.844 kB / 475.8 MB, free: 30.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2161, allocations: 3.094 kB / 475.8 MB, free: 30.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2161, allocations: 3.938 kB / 475.8 MB, free: 30.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.2163, allocations: 133.4 kB / 475.9 MB, free: 30 MB / 410.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.0003949/0.2167, allocations: 320 kB / 476.2 MB, free: 29.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.2169, allocations: 70.14 kB / 476.3 MB, free: 29.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.2169, allocations: 34.69 kB / 476.3 MB, free: 29.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.2185, allocations: 0.8677 MB / 477.2 MB, free: 29.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.2185, allocations: 40.66 kB / 477.2 MB, free: 29.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.2185, allocations: 4 kB / 477.2 MB, free: 29.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004049/0.2189, allocations: 147.3 kB / 477.4 MB, free: 29.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.2189, allocations: 53.56 kB / 477.4 MB, free: 29.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.219, allocations: 100.7 kB / 477.5 MB, free: 29.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.219, allocations: 26.77 kB / 477.6 MB, free: 29.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.219, allocations: 86.22 kB / 477.6 MB, free: 29.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.219, allocations: 28.94 kB / 477.7 MB, free: 29.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.2191, allocations: 25.25 kB / 477.7 MB, free: 29.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.2191, allocations: 324.3 kB / 478 MB, free: 28.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.2192, allocations: 23.72 kB / 478 MB, free: 28.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.2192, allocations: 40.77 kB / 478.1 MB, free: 28.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.2193, allocations: 72.39 kB / 478.1 MB, free: 28.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2193, allocations: 0 / 478.1 MB, free: 28.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001669/0.2195, allocations: 108.4 kB / 478.2 MB, free: 28.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2195, allocations: 6.188 kB / 478.3 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2195, allocations: 0.7812 kB / 478.3 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2195, allocations: 1.031 kB / 478.3 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.2196, allocations: 23.19 kB / 478.3 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2196, allocations: 0.875 kB / 478.3 MB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.2197, allocations: 15.22 kB / 478.3 MB, free: 28.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2197, allocations: 2.469 kB / 478.3 MB, free: 28.6 MB / 410.7 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 4.233e-05/0.2197, allocations: 120.7 kB / 478.4 MB, free: 28.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.2197, allocations: 6.359 kB / 478.4 MB, free: 28.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.22, allocations: 253.8 kB / 478.7 MB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.22, allocations: 6.219 kB / 478.7 MB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.22, allocations: 0 / 478.7 MB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.22, allocations: 1.062 kB / 478.7 MB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.2202, allocations: 205.1 kB / 478.9 MB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2202, allocations: 0.9062 kB / 478.9 MB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.2202, allocations: 18.58 kB / 478.9 MB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2202, allocations: 4.688 kB / 478.9 MB, free: 28.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2202, allocations: 5.312 kB / 478.9 MB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.2202, allocations: 0 / 478.9 MB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.2202, allocations: 0.9688 kB / 478.9 MB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.2204, allocations: 249.4 kB / 479.1 MB, free: 27.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.2204, allocations: 15.3 kB / 479.2 MB, free: 27.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2204, allocations: 5.25 kB / 479.2 MB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.653e-05/0.2205, allocations: 5.953 kB / 479.2 MB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.2205, allocations: 9.016 kB / 479.2 MB, free: 27.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.2205, allocations: 9 kB / 479.2 MB, free: 27.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.447e-05/0.2205, allocations: 81.97 kB / 479.3 MB, free: 27.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2205, allocations: 0 / 479.3 MB, free: 27.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009673/0.2215, allocations: 380.1 kB / 479.6 MB, free: 27.79 MB / 410.7 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.007725/0.2292, allocations: 4.312 MB / 484 MB, free: 25.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.2295, allocations: 93.38 kB / 484 MB, free: 25.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2295, allocations: 5.531 kB / 484.1 MB, free: 25.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/0.2295, allocations: 59.36 kB / 484.1 MB, free: 25.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.2298, allocations: 19.75 kB / 484.1 MB, free: 25.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.2307, allocations: 432.4 kB / 484.6 MB, free: 24.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.687e-05/0.2307, allocations: 82.11 kB / 484.6 MB, free: 24.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.33e-05/0.2308, allocations: 49.81 kB / 484.7 MB, free: 24.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.2308, allocations: 27.72 kB / 484.7 MB, free: 24.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/0.2308, allocations: 4 kB / 484.7 MB, free: 24.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.2593, allocations: 18.91 MB / 0.4918 GB, free: 19.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.402/7.661, allocations: 8.125 kB / 0.4918 GB, free: 19.25 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_phX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_phX/R134a_setState_phX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.829082539305091]