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.002222/0.002222, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001764/0.001764, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.43/1.43, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2292/0.2292, allocations: 46.95 MB / 360.8 MB, free: 3.91 MB / 286.1 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 0.002403/0.002403, allocations: 79.88 kB / 0.4961 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3666, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01374/0.3803, allocations: 8.054 MB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.3952, allocations: 11.47 MB / 0.5797 GB, free: 432 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.3953, allocations: 0 / 0.5797 GB, free: 432 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002243/0.3955, allocations: 31.83 kB / 0.5798 GB, free: 400 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006937/0.4024, allocations: 2.139 MB / 0.5819 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.648e-06/0.4024, allocations: 4 kB / 0.5819 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.4025, allocations: 47.61 kB / 0.5819 GB, free: 14.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.4026, allocations: 12 kB / 0.5819 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.4027, allocations: 27.84 kB / 0.582 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.4028, allocations: 19.92 kB / 0.582 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.4028, allocations: 0 / 0.582 GB, free: 14.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01083/0.4136, allocations: 5.879 MB / 0.5877 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.4136, allocations: 4 kB / 0.5877 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.4137, allocations: 19.86 kB / 0.5877 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.4279, allocations: 4.791 MB / 0.5924 GB, free: 3.422 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.4279, allocations: 4 kB / 0.5924 GB, free: 3.418 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4279, allocations: 0 / 0.5924 GB, free: 3.418 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4279, allocations: 3.938 kB / 0.5924 GB, free: 3.414 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.003941/0.4319, allocations: 0.558 MB / 0.593 GB, free: 2.824 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.93e-05/0.4319, allocations: 8.031 kB / 0.593 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.432, allocations: 42.55 kB / 0.593 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.4321, allocations: 4 kB / 0.593 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.4323, allocations: 109.2 kB / 0.5931 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.4323, allocations: 4 kB / 0.5931 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.4323, allocations: 4 kB / 0.5931 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.4327, allocations: 121.6 kB / 0.5933 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.4327, allocations: 3.938 kB / 0.5933 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4327, allocations: 3.984 kB / 0.5933 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4328, allocations: 3.938 kB / 0.5933 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/0.4331, allocations: 127.9 kB / 0.5934 GB, free: 2.359 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.000673/0.4338, allocations: 311.7 kB / 0.5937 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.4341, allocations: 78.52 kB / 0.5938 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.4342, allocations: 32.78 kB / 0.5938 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003278/0.4375, allocations: 0.8662 MB / 0.5946 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.4375, allocations: 30.56 kB / 0.5947 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.4375, allocations: 0 / 0.5947 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006793/0.4382, allocations: 141.6 kB / 0.5948 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.4383, allocations: 55.41 kB / 0.5948 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.4384, allocations: 109.8 kB / 0.595 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.4384, allocations: 25.7 kB / 0.595 GB, free: 0.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.4385, allocations: 88.03 kB / 0.5951 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.4385, allocations: 27.78 kB / 0.5951 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.4386, allocations: 21.83 kB / 0.5951 GB, free: 492 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4387, allocations: 326.7 kB / 0.5954 GB, free: 156 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.4388, allocations: 31.92 kB / 0.5955 GB, free: 124 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.439, allocations: 41.69 kB / 0.5955 GB, free: 76 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.4392, allocations: 61.7 kB / 0.5956 GB, free: 8 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4392, allocations: 0 / 0.5956 GB, free: 8 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003281/0.4395, allocations: 105.8 kB / 0.5957 GB, free: 15.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.4395, allocations: 8 kB / 0.5957 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.4395, allocations: 0 / 0.5957 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4396, allocations: 0 / 0.5957 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4397, allocations: 24 kB / 0.5957 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.4397, allocations: 4 kB / 0.5957 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.4397, allocations: 11.94 kB / 0.5957 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.4398, allocations: 4 kB / 0.5957 GB, free: 15.85 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 0.0001131/0.4399, allocations: 121.7 kB / 0.5958 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.4399, allocations: 0 / 0.5958 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.4404, allocations: 260.2 kB / 0.5961 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.4405, allocations: 3.984 kB / 0.5961 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4405, allocations: 4 kB / 0.5961 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4405, allocations: 0 / 0.5961 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.4407, allocations: 196.6 kB / 0.5963 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4407, allocations: 4 kB / 0.5963 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.097e-05/0.4408, allocations: 15.98 kB / 0.5963 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4408, allocations: 11.94 kB / 0.5963 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4408, allocations: 4 kB / 0.5963 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.4408, allocations: 0 / 0.5963 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4408, allocations: 0 / 0.5963 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.4413, allocations: 263.2 kB / 0.5965 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.4413, allocations: 11.89 kB / 0.5966 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.4413, allocations: 4 kB / 0.5966 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.4e-05/0.4414, allocations: 0 / 0.5966 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.4415, allocations: 19.97 kB / 0.5966 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.4415, allocations: 4 kB / 0.5966 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.232e-05/0.4415, allocations: 79.28 kB / 0.5967 GB, free: 14.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4415, allocations: 0 / 0.5967 GB, free: 14.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002644/0.4442, allocations: 382.9 kB / 0.597 GB, free: 14.42 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.01464/0.4588, allocations: 4.248 MB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004736/0.4593, allocations: 110.4 kB / 0.6013 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4593, allocations: 0 / 0.6013 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.4594, allocations: 52.3 kB / 0.6013 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.4598, allocations: 22.39 kB / 0.6013 GB, free: 9.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.4619, allocations: 455 kB / 0.6018 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.462, allocations: 87.06 kB / 0.6019 GB, free: 9.371 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.4622, allocations: 51.61 kB / 0.6019 GB, free: 9.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.4623, allocations: 27.44 kB / 0.6019 GB, free: 9.293 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4623, allocations: 3.938 kB / 0.6019 GB, free: 9.289 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05903/0.5213, allocations: 18.69 MB / 0.6202 GB, free: 6.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.12, allocations: 4.062 kB / 0.6202 GB, free: 6.656 MB / 462.1 MB " [Timeout remaining time 648] (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/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_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: 15.470941842067987]