Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001298/0.001298, 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.00144/0.00144, allocations: 213.9 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.491/1.491, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2275/0.2275, allocations: 46.95 MB / 360.8 MB, free: 3.922 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_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 79.88 kB / 0.4962 GB, free: 7.543 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3624, allocations: 66.08 MB / 0.5607 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01313/0.3755, allocations: 8.059 MB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01466/0.3902, allocations: 9.902 MB / 0.5782 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.997e-05/0.3903, allocations: 0 / 0.5782 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.3906, allocations: 31.83 kB / 0.5783 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006629/0.3972, allocations: 1.84 MB / 0.5801 GB, free: 100 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.03e-05/0.3972, allocations: 0 / 0.5801 GB, free: 100 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3973, allocations: 55.59 kB / 0.5801 GB, free: 44 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.3974, allocations: 3.938 kB / 0.5801 GB, free: 40 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.3975, allocations: 31.86 kB / 0.5801 GB, free: 8 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.3976, allocations: 19.97 kB / 0.5802 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.3976, allocations: 0 / 0.5802 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01168/0.4093, allocations: 6.588 MB / 0.5866 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.4093, allocations: 0 / 0.5866 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.4094, allocations: 15.88 kB / 0.5866 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.016/0.4254, allocations: 5.096 MB / 0.5916 GB, free: 4.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4254, allocations: 0 / 0.5916 GB, free: 4.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4254, allocations: 0 / 0.5916 GB, free: 4.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.4254, allocations: 4 kB / 0.5916 GB, free: 4.266 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.003358/0.4288, allocations: 0.4997 MB / 0.5921 GB, free: 3.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.4288, allocations: 15.97 kB / 0.5921 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.4289, allocations: 30.56 kB / 0.5921 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.429, allocations: 15.92 kB / 0.5921 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.4291, allocations: 113.1 kB / 0.5922 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4292, allocations: 4 kB / 0.5923 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.4292, allocations: 0 / 0.5923 GB, free: 3.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.4294, allocations: 89.59 kB / 0.5923 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.4294, allocations: 0 / 0.5923 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.4294, allocations: 0 / 0.5923 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4294, allocations: 4 kB / 0.5923 GB, free: 3.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.4295, allocations: 79.95 kB / 0.5924 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.4301, allocations: 299.8 kB / 0.5927 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.4302, allocations: 38.56 kB / 0.5927 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.4303, allocations: 24.92 kB / 0.5928 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003126/0.4334, allocations: 0.8076 MB / 0.5936 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4334, allocations: 34.56 kB / 0.5936 GB, free: 2.086 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.4334, allocations: 0 / 0.5936 GB, free: 2.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003316/0.4338, allocations: 113.7 kB / 0.5937 GB, free: 1.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4338, allocations: 51.41 kB / 0.5937 GB, free: 1.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.4339, allocations: 97.86 kB / 0.5938 GB, free: 1.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4339, allocations: 25.7 kB / 0.5939 GB, free: 1.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/0.434, allocations: 96.02 kB / 0.594 GB, free: 1.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.434, allocations: 27.75 kB / 0.594 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.68e-05/0.4341, allocations: 25.7 kB / 0.594 GB, free: 1.613 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.4342, allocations: 322.8 kB / 0.5943 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.123e-05/0.4343, allocations: 19.98 kB / 0.5943 GB, free: 1.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.501e-05/0.4344, allocations: 41.66 kB / 0.5944 GB, free: 1.223 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.4345, allocations: 62.02 kB / 0.5944 GB, free: 1.156 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4345, allocations: 0 / 0.5944 GB, free: 1.156 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002201/0.4347, allocations: 97.58 kB / 0.5945 GB, free: 1.055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.4347, allocations: 8 kB / 0.5945 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4347, allocations: 0 / 0.5945 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4347, allocations: 4.031 kB / 0.5945 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.672e-05/0.4348, allocations: 11.98 kB / 0.5945 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4348, allocations: 3.938 kB / 0.5945 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.413e-05/0.4348, allocations: 4 kB / 0.5946 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.4349, allocations: 0 / 0.5946 GB, free: 1.023 MB / 430.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 (6): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 0.0001121/0.435, allocations: 117.8 kB / 0.5947 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.516e-05/0.435, allocations: 7.953 kB / 0.5947 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.4353, allocations: 144.9 kB / 0.5948 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001769/0.4355, allocations: 121.6 kB / 0.5949 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4355, allocations: 4 kB / 0.5949 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4355, allocations: 4.188 kB / 0.5949 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/0.436, allocations: 405.3 kB / 0.5953 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.436, allocations: 8 kB / 0.5953 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.4361, allocations: 15.98 kB / 0.5953 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.4361, allocations: 3.938 kB / 0.5953 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.4361, allocations: 4 kB / 0.5954 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4361, allocations: 0 / 0.5954 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4361, allocations: 7.938 kB / 0.5954 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002874/0.4364, allocations: 215.6 kB / 0.5956 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.4364, allocations: 15.95 kB / 0.5956 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.4365, allocations: 7.922 kB / 0.5956 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.4365, allocations: 0 / 0.5956 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.4365, allocations: 4.188 kB / 0.5956 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.4365, allocations: 11.98 kB / 0.5956 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.4366, allocations: 83.27 kB / 0.5957 GB, free: 15.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4366, allocations: 0 / 0.5957 GB, free: 15.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002751/0.4393, allocations: 355 kB / 0.596 GB, free: 15.43 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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.01634/0.4557, allocations: 4.744 MB / 0.6007 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.456, allocations: 109.6 kB / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.456, allocations: 0 / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.4561, allocations: 43.92 kB / 0.6008 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.4566, allocations: 49.45 kB / 0.6008 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.4591, allocations: 418.2 kB / 0.6012 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.468e-05/0.4591, allocations: 79.08 kB / 0.6013 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.777e-05/0.4592, allocations: 15.92 kB / 0.6013 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.71e-05/0.4593, allocations: 23.44 kB / 0.6014 GB, free: 9.871 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4593, allocations: 4 kB / 0.6014 GB, free: 9.867 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05919/0.5185, allocations: 20.76 MB / 0.6216 GB, free: 5.188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.35, allocations: 7.609 kB / 0.6216 GB, free: 5.184 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX_high_T/R134a_setState_pTX_high_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.76416524220258]