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.0008213/0.0008213, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008558/0.0008558, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8713/0.8713, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2452/0.2452, allocations: 34.26 MB / 294.9 MB, free: 0.7227 MB / 266.7 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 1.282e-06/1.282e-06, allocations: 0 / 442.2 MB, free: 1.691 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.988e-05, allocations: 2.281 kB / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.1611/0.1611, allocations: 8.029 MB / 450.2 MB, free: 40.88 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006224/0.1673, allocations: 11.46 MB / 461.6 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.1673, allocations: 0 / 461.6 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.1675, allocations: 27.59 kB / 461.7 MB, free: 33.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.1711, allocations: 2.171 MB / 463.8 MB, free: 32.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.181e-06/0.1711, allocations: 2.969 kB / 463.8 MB, free: 32.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.688e-05/0.1712, allocations: 52.53 kB / 463.9 MB, free: 32.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.1713, allocations: 11.88 kB / 463.9 MB, free: 32.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1714, allocations: 40.7 kB / 463.9 MB, free: 32.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.545e-05/0.1714, allocations: 18.45 kB / 464 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1714, allocations: 3.281 kB / 464 MB, free: 32.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/0.1768, allocations: 5.882 MB / 469.8 MB, free: 31.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.1768, allocations: 7.359 kB / 469.9 MB, free: 31.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.1768, allocations: 17.53 kB / 469.9 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006923/0.1838, allocations: 5.062 MB / 474.9 MB, free: 30.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1838, allocations: 0 / 474.9 MB, free: 30.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1838, allocations: 4 kB / 474.9 MB, free: 30.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1838, allocations: 0 / 474.9 MB, free: 30.79 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.002124/0.1859, allocations: 0.5658 MB / 475.5 MB, free: 30.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1859, allocations: 13.91 kB / 475.5 MB, free: 30.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.468e-05/0.186, allocations: 37.31 kB / 475.6 MB, free: 30.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.186, allocations: 6.844 kB / 475.6 MB, free: 30.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.417e-05/0.1861, allocations: 104 kB / 475.7 MB, free: 30.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1861, allocations: 3 kB / 475.7 MB, free: 30.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1861, allocations: 6.969 kB / 475.7 MB, free: 30.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1863, allocations: 119.7 kB / 475.8 MB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1863, allocations: 0 / 475.8 MB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1863, allocations: 4 kB / 475.8 MB, free: 30.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1863, allocations: 6.969 kB / 475.8 MB, free: 30.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.1865, allocations: 129.3 kB / 475.9 MB, free: 30.07 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.0003575/0.1869, allocations: 313.8 kB / 476.2 MB, free: 29.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.187, allocations: 71.58 kB / 476.3 MB, free: 29.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.187, allocations: 35.56 kB / 476.3 MB, free: 29.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.1885, allocations: 0.8775 MB / 477.2 MB, free: 29.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.1885, allocations: 36.78 kB / 477.3 MB, free: 29.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.1885, allocations: 0 / 477.3 MB, free: 29.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003545/0.1889, allocations: 141.6 kB / 477.4 MB, free: 29.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.1889, allocations: 60.53 kB / 477.4 MB, free: 29.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.176e-05/0.1889, allocations: 96.47 kB / 477.5 MB, free: 29.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-06/0.1889, allocations: 30.83 kB / 477.6 MB, free: 29.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.1889, allocations: 86.34 kB / 477.7 MB, free: 29.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.189, allocations: 31.78 kB / 477.7 MB, free: 29.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.189, allocations: 25.78 kB / 477.7 MB, free: 29.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.718e-05/0.189, allocations: 319.5 kB / 478 MB, free: 28.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.1891, allocations: 24.23 kB / 478 MB, free: 28.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.768e-05/0.1891, allocations: 44.75 kB / 478.1 MB, free: 28.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1892, allocations: 77.75 kB / 478.2 MB, free: 28.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1892, allocations: 0 / 478.2 MB, free: 28.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001495/0.1894, allocations: 97.09 kB / 478.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1894, allocations: 5.375 kB / 478.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1894, allocations: 3.328 kB / 478.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1894, allocations: 1.344 kB / 478.3 MB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.1895, allocations: 26.11 kB / 478.3 MB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1895, allocations: 0.7812 kB / 478.3 MB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.1895, allocations: 3.188 kB / 478.3 MB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1895, allocations: 3.438 kB / 478.3 MB, free: 28.67 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.15e-05/0.1896, allocations: 123.4 kB / 478.4 MB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.1896, allocations: 6.453 kB / 478.4 MB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.1898, allocations: 258.6 kB / 478.7 MB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1899, allocations: 4.422 kB / 478.7 MB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1899, allocations: 1.156 kB / 478.7 MB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1899, allocations: 0 / 478.7 MB, free: 28.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.19, allocations: 205.4 kB / 478.9 MB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.19, allocations: 1.125 kB / 478.9 MB, free: 28.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.19, allocations: 22.7 kB / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.19, allocations: 1.094 kB / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.19, allocations: 5.062 kB / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.19, allocations: 1.125 kB / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.19, allocations: 0 / 478.9 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1902, allocations: 260.9 kB / 479.2 MB, free: 28.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.1902, allocations: 7.172 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.1902, allocations: 4.703 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.671e-05/0.1903, allocations: 3.688 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.1903, allocations: 15.44 kB / 479.2 MB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1903, allocations: 11.62 kB / 479.2 MB, free: 28.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.233e-05/0.1903, allocations: 78.03 kB / 479.3 MB, free: 27.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1903, allocations: 0 / 479.3 MB, free: 27.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001485/0.1918, allocations: 382.5 kB / 479.7 MB, free: 27.84 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.008195/0.2, allocations: 4.306 MB / 484 MB, free: 25.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002381/0.2003, allocations: 89.31 kB / 484.1 MB, free: 25.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2003, allocations: 3.938 kB / 484.1 MB, free: 25.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.2003, allocations: 60.23 kB / 484.1 MB, free: 25.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.2006, allocations: 27.38 kB / 484.2 MB, free: 25.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2018, allocations: 431.4 kB / 484.6 MB, free: 25.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.736e-05/0.2019, allocations: 77.81 kB / 484.6 MB, free: 24.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.156e-05/0.202, allocations: 51.91 kB / 484.7 MB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.572e-05/0.202, allocations: 24.84 kB / 484.7 MB, free: 24.93 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.202, allocations: 0 / 484.7 MB, free: 24.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.2365, allocations: 18.96 MB / 0.4919 GB, free: 19.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.38/7.617, allocations: 3.125 kB / 0.4919 GB, free: 19.38 MB / 410.7 MB " [Timeout remaining time 652] (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/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_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: 9.78687777929008]