Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.001945/0.001945, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002233/0.002233, allocations: 217.6 kB / 23.73 MB, free: 4.406 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.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.2168/0.2168, allocations: 46.96 MB / 360.8 MB, free: 3.895 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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 83.88 kB / 0.4961 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2799, allocations: 66.08 MB / 0.5607 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0121/0.292, allocations: 8.053 MB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.3042, allocations: 9.894 MB / 0.5782 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.3043, allocations: 0 / 0.5782 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.3045, allocations: 39.81 kB / 0.5782 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004829/0.3093, allocations: 1.847 MB / 0.58 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.332e-06/0.3093, allocations: 0 / 0.58 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.615e-05/0.3094, allocations: 47.62 kB / 0.5801 GB, free: 15.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3094, allocations: 11.88 kB / 0.5801 GB, free: 15.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3096, allocations: 35.84 kB / 0.5801 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.275e-05/0.3096, allocations: 19.92 kB / 0.5802 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.3096, allocations: 3.938 kB / 0.5802 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/0.3206, allocations: 6.58 MB / 0.5866 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.3206, allocations: 7.969 kB / 0.5866 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.3207, allocations: 19.94 kB / 0.5866 GB, free: 9.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.3363, allocations: 5.088 MB / 0.5916 GB, free: 4.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3363, allocations: 0 / 0.5916 GB, free: 4.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3363, allocations: 0 / 0.5916 GB, free: 4.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.3363, allocations: 8 kB / 0.5916 GB, free: 4.137 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.002847/0.3392, allocations: 0.4997 MB / 0.5921 GB, free: 3.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3392, allocations: 8.031 kB / 0.5921 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.3393, allocations: 34.56 kB / 0.5921 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.3394, allocations: 11.98 kB / 0.5921 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3395, allocations: 109.1 kB / 0.5922 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.3395, allocations: 8 kB / 0.5922 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3395, allocations: 0 / 0.5922 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3397, allocations: 85.61 kB / 0.5923 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3397, allocations: 0 / 0.5923 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3397, allocations: 3.984 kB / 0.5923 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.3397, allocations: 8 kB / 0.5923 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3399, allocations: 79.94 kB / 0.5924 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.3403, allocations: 299.7 kB / 0.5927 GB, free: 2.887 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/0.3404, allocations: 30.58 kB / 0.5927 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.3405, allocations: 32.91 kB / 0.5928 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003042/0.3435, allocations: 0.8076 MB / 0.5935 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.3435, allocations: 30.56 kB / 0.5936 GB, free: 1.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3435, allocations: 0 / 0.5936 GB, free: 1.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003492/0.3439, allocations: 109.7 kB / 0.5937 GB, free: 1.852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3439, allocations: 55.39 kB / 0.5937 GB, free: 1.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.642e-05/0.344, allocations: 97.86 kB / 0.5938 GB, free: 1.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.344, allocations: 29.7 kB / 0.5939 GB, free: 1.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.3441, allocations: 88.31 kB / 0.5939 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.3442, allocations: 35.73 kB / 0.594 GB, free: 1.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.3442, allocations: 21.72 kB / 0.594 GB, free: 1.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3444, allocations: 326.8 kB / 0.5943 GB, free: 1.164 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.3444, allocations: 23.94 kB / 0.5943 GB, free: 1.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.3445, allocations: 37.64 kB / 0.5944 GB, free: 1.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.3446, allocations: 61.7 kB / 0.5944 GB, free: 1.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3446, allocations: 4 kB / 0.5944 GB, free: 1.027 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002082/0.3448, allocations: 93.58 kB / 0.5945 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3448, allocations: 4 kB / 0.5945 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3448, allocations: 0 / 0.5945 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3449, allocations: 4.031 kB / 0.5945 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/0.3449, allocations: 12 kB / 0.5945 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3449, allocations: 3.938 kB / 0.5945 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.345, allocations: 4 kB / 0.5945 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.345, allocations: 7.984 kB / 0.5946 GB, free: 0.8945 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.0001156/0.3451, allocations: 113.8 kB / 0.5947 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.78e-05/0.3451, allocations: 7.953 kB / 0.5947 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.3454, allocations: 145.8 kB / 0.5948 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001668/0.3456, allocations: 117.6 kB / 0.5949 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3456, allocations: 4 kB / 0.5949 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3456, allocations: 0 / 0.5949 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.3462, allocations: 409.5 kB / 0.5953 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3462, allocations: 4 kB / 0.5953 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.3462, allocations: 12 kB / 0.5953 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3462, allocations: 3.938 kB / 0.5953 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3463, allocations: 7.984 kB / 0.5953 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3463, allocations: 3.938 kB / 0.5953 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3463, allocations: 0 / 0.5953 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.3465, allocations: 222.5 kB / 0.5956 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.3466, allocations: 11.95 kB / 0.5956 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.3466, allocations: 3.938 kB / 0.5956 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.553e-05/0.3466, allocations: 8.281 kB / 0.5956 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.3467, allocations: 7.922 kB / 0.5956 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.3467, allocations: 4 kB / 0.5956 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.3467, allocations: 91.39 kB / 0.5957 GB, free: 15.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3467, allocations: 0 / 0.5957 GB, free: 15.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002273/0.349, allocations: 358.9 kB / 0.596 GB, free: 15.31 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.0151/0.3641, allocations: 4.743 MB / 0.6007 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.3644, allocations: 105.6 kB / 0.6008 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3644, allocations: 0 / 0.6008 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.3645, allocations: 51.92 kB / 0.6008 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3649, allocations: 40.36 kB / 0.6008 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.3666, allocations: 410.2 kB / 0.6012 GB, free: 9.887 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.586e-05/0.3667, allocations: 83.08 kB / 0.6013 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.3667, allocations: 15.88 kB / 0.6013 GB, free: 9.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.3668, allocations: 35.42 kB / 0.6014 GB, free: 9.734 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3668, allocations: 0 / 0.6014 GB, free: 9.734 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05329/0.4201, allocations: 20.73 MB / 0.6216 GB, free: 5.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.39, allocations: 3.938 kB / 0.6216 GB, free: 5.074 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/R134a_setState_pTX/R134a_setState_pTX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX.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.771865495014936]