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.001703/0.001703, allocations: 112.7 kB / 20.43 MB, free: 1.309 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.002054/0.002054, allocations: 205.9 kB / 23.74 MB, free: 4.543 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.56/1.56, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2358/0.2358, allocations: 46.93 MB / 360.8 MB, free: 4.172 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.002451/0.002451, allocations: 75.88 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3492, allocations: 66.09 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01187/0.3611, allocations: 8.49 MB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.3739, allocations: 11.26 MB / 0.58 GB, free: 488 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.374, allocations: 0 / 0.58 GB, free: 488 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.3742, allocations: 47.73 kB / 0.5801 GB, free: 440 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005032/0.3793, allocations: 1.866 MB / 0.5819 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.235e-06/0.3793, allocations: 4 kB / 0.5819 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.3794, allocations: 43.67 kB / 0.5819 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.391e-05/0.3794, allocations: 15.88 kB / 0.5819 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.3796, allocations: 27.84 kB / 0.582 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.3796, allocations: 19.92 kB / 0.582 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.3796, allocations: 0 / 0.582 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.3899, allocations: 6.752 MB / 0.5886 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.39, allocations: 7.938 kB / 0.5886 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.39, allocations: 19.92 kB / 0.5886 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.4022, allocations: 5.096 MB / 0.5936 GB, free: 2.555 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4022, allocations: 0 / 0.5936 GB, free: 2.555 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4022, allocations: 0 / 0.5936 GB, free: 2.555 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.4022, allocations: 0 / 0.5936 GB, free: 2.555 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.002734/0.4049, allocations: 0.5036 MB / 0.5941 GB, free: 2.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.405, allocations: 12.03 kB / 0.5941 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.405, allocations: 38.56 kB / 0.5941 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.4051, allocations: 11.98 kB / 0.5941 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.4053, allocations: 109.1 kB / 0.5942 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.4053, allocations: 4 kB / 0.5943 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.4053, allocations: 7.984 kB / 0.5943 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.4055, allocations: 81.61 kB / 0.5943 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4055, allocations: 0 / 0.5943 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.4055, allocations: 0 / 0.5943 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.4055, allocations: 7.938 kB / 0.5943 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.4056, allocations: 79.95 kB / 0.5944 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.4061, allocations: 299.8 kB / 0.5947 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.956e-05/0.4062, allocations: 42.5 kB / 0.5947 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.66e-05/0.4062, allocations: 24.92 kB / 0.5948 GB, free: 1.219 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002846/0.4091, allocations: 0.7997 MB / 0.5956 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.4091, allocations: 34.55 kB / 0.5956 GB, free: 384 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.4091, allocations: 0 / 0.5956 GB, free: 384 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002995/0.4094, allocations: 113.7 kB / 0.5957 GB, free: 264 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.4094, allocations: 51.41 kB / 0.5957 GB, free: 200 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.4095, allocations: 102 kB / 0.5958 GB, free: 88 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.4095, allocations: 37.64 kB / 0.5959 GB, free: 44 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.4096, allocations: 88.03 kB / 0.596 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.4096, allocations: 35.72 kB / 0.596 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.4097, allocations: 17.72 kB / 0.596 GB, free: 15.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4098, allocations: 318.8 kB / 0.5963 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.4099, allocations: 23.92 kB / 0.5963 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.889e-05/0.4099, allocations: 41.7 kB / 0.5964 GB, free: 15.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.41, allocations: 61.72 kB / 0.5964 GB, free: 15.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.41, allocations: 0 / 0.5964 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002725/0.4103, allocations: 93.95 kB / 0.5965 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4103, allocations: 11.92 kB / 0.5965 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.4103, allocations: 4 kB / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4104, allocations: 0 / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.4105, allocations: 11.94 kB / 0.5966 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4105, allocations: 0 / 0.5966 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.4105, allocations: 4.031 kB / 0.5966 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.4105, allocations: 8 kB / 0.5966 GB, free: 15.3 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 (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.0001168/0.4106, allocations: 113.8 kB / 0.5967 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.4107, allocations: 3.953 kB / 0.5967 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.411, allocations: 153.2 kB / 0.5968 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001457/0.4111, allocations: 117.6 kB / 0.5969 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4111, allocations: 0 / 0.5969 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.4111, allocations: 0 / 0.5969 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.4116, allocations: 409.6 kB / 0.5973 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4116, allocations: 8 kB / 0.5973 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.4117, allocations: 15.94 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4117, allocations: 4.125 kB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.4117, allocations: 0 / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4117, allocations: 7.875 kB / 0.5974 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4117, allocations: 3.984 kB / 0.5974 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.4119, allocations: 227.5 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.412, allocations: 8.125 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.412, allocations: 3.938 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.412, allocations: 7.984 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.4121, allocations: 7.984 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4121, allocations: 7.938 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.4121, allocations: 75.28 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4121, allocations: 0 / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001896/0.414, allocations: 370.9 kB / 0.598 GB, free: 13.71 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.01407/0.4281, allocations: 4.739 MB / 0.6027 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.4284, allocations: 101.7 kB / 0.6028 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4284, allocations: 0 / 0.6028 GB, free: 8.828 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.4285, allocations: 55.98 kB / 0.6028 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.4289, allocations: 40.06 kB / 0.6029 GB, free: 8.734 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.4305, allocations: 410.2 kB / 0.6032 GB, free: 8.289 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.4309, allocations: 0.6927 MB / 0.6039 GB, free: 7.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.062e-05/0.4309, allocations: 15.69 kB / 0.6039 GB, free: 7.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.571e-05/0.431, allocations: 31.42 kB / 0.604 GB, free: 7.523 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.431, allocations: 0 / 0.604 GB, free: 7.523 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05605/0.487, allocations: 20.26 MB / 0.6238 GB, free: 3.328 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.66, allocations: 7.438 kB / 0.6238 GB, free: 3.324 MB / 462.1 MB " [Timeout remaining time 647] (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: 16.301324266009033]