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.001374/0.001374, allocations: 114 kB / 20.43 MB, free: 1.457 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.001595/0.001595, allocations: 214.7 kB / 23.75 MB, free: 4.672 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.402/1.402, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2221/0.2221, allocations: 46.93 MB / 360.8 MB, free: 4.16 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.002469/0.002469, allocations: 83.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3245, allocations: 66.07 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.0118/0.3363, allocations: 8.491 MB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.3493, allocations: 11.26 MB / 0.58 GB, free: 480 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.3493, allocations: 4 kB / 0.58 GB, free: 476 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.3495, allocations: 47.72 kB / 0.5801 GB, free: 428 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005255/0.3548, allocations: 1.856 MB / 0.5819 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.976e-06/0.3548, allocations: 4 kB / 0.5819 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.3549, allocations: 51.66 kB / 0.5819 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.355, allocations: 11.88 kB / 0.5819 GB, free: 14.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.3551, allocations: 23.92 kB / 0.582 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.3551, allocations: 31.84 kB / 0.582 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.3552, allocations: 0 / 0.582 GB, free: 14.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.3656, allocations: 6.748 MB / 0.5886 GB, free: 7.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.3657, allocations: 3.938 kB / 0.5886 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.3657, allocations: 19.88 kB / 0.5886 GB, free: 7.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.3779, allocations: 5.096 MB / 0.5936 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.378, allocations: 0 / 0.5936 GB, free: 2.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.378, allocations: 7.938 kB / 0.5936 GB, free: 2.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.378, allocations: 0 / 0.5936 GB, free: 2.543 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.003018/0.381, allocations: 0.5075 MB / 0.5941 GB, free: 2.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.381, allocations: 8.031 kB / 0.5941 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.3811, allocations: 30.56 kB / 0.5941 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.3812, allocations: 15.98 kB / 0.5941 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3813, allocations: 105.2 kB / 0.5942 GB, free: 1.812 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3813, allocations: 8 kB / 0.5942 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.3813, allocations: 4 kB / 0.5942 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3815, allocations: 85.55 kB / 0.5943 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3815, allocations: 0 / 0.5943 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.3815, allocations: 3.938 kB / 0.5943 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3815, allocations: 4 kB / 0.5943 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3816, allocations: 83.94 kB / 0.5944 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004989/0.3821, allocations: 295.8 kB / 0.5947 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/0.3822, allocations: 34.58 kB / 0.5947 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.3822, allocations: 29 kB / 0.5948 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003033/0.3853, allocations: 0.8114 MB / 0.5955 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3853, allocations: 30.56 kB / 0.5956 GB, free: 372 kB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.415e-06/0.3853, allocations: 4 kB / 0.5956 GB, free: 368 kB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003065/0.3856, allocations: 109.6 kB / 0.5957 GB, free: 252 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.3857, allocations: 55.41 kB / 0.5957 GB, free: 184 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/0.3857, allocations: 97.84 kB / 0.5958 GB, free: 76 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.3858, allocations: 25.7 kB / 0.5959 GB, free: 44 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.3859, allocations: 92.03 kB / 0.5959 GB, free: 15.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.3859, allocations: 35.73 kB / 0.596 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.3859, allocations: 21.72 kB / 0.596 GB, free: 15.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3861, allocations: 318.8 kB / 0.5963 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.3861, allocations: 20 kB / 0.5963 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.3862, allocations: 37.7 kB / 0.5964 GB, free: 15.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.3863, allocations: 62.03 kB / 0.5964 GB, free: 15.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3863, allocations: 4 kB / 0.5964 GB, free: 15.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001773/0.3865, allocations: 101.5 kB / 0.5965 GB, free: 15.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.3865, allocations: 8 kB / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3865, allocations: 192 / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3865, allocations: 0 / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.038e-05/0.3866, allocations: 12 kB / 0.5965 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3866, allocations: 0 / 0.5965 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.3866, allocations: 4 kB / 0.5965 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.3866, allocations: 4 kB / 0.5965 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 9.878e-05/0.3867, allocations: 117.8 kB / 0.5967 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.3868, allocations: 11.94 kB / 0.5967 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.387, allocations: 153.5 kB / 0.5968 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001469/0.3872, allocations: 113.7 kB / 0.5969 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3872, allocations: 0 / 0.5969 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3872, allocations: 0 / 0.5969 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.3877, allocations: 420.3 kB / 0.5973 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3877, allocations: 4 kB / 0.5973 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.506e-05/0.3878, allocations: 12 kB / 0.5973 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3878, allocations: 3.938 kB / 0.5973 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3878, allocations: 3.984 kB / 0.5973 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3878, allocations: 4 kB / 0.5973 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3878, allocations: 0 / 0.5973 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.388, allocations: 223.4 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.388, allocations: 7.938 kB / 0.5976 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.3881, allocations: 3.938 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.555e-05/0.3881, allocations: 8 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.3881, allocations: 7.984 kB / 0.5976 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3881, allocations: 4 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.19e-05/0.3882, allocations: 75.47 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3882, allocations: 0 / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002038/0.3902, 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.01426/0.4045, allocations: 4.749 MB / 0.6027 GB, free: 8.926 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.4048, allocations: 105.6 kB / 0.6028 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4048, allocations: 0 / 0.6028 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.4048, allocations: 43.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.0004115/0.4053, allocations: 40 kB / 0.6028 GB, free: 8.734 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.4067, allocations: 414.2 kB / 0.6032 GB, free: 8.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4071, allocations: 0.6924 MB / 0.6039 GB, free: 7.566 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.778e-05/0.4071, allocations: 15.88 kB / 0.6039 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.4072, allocations: 31.42 kB / 0.6039 GB, free: 7.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4072, allocations: 4 kB / 0.604 GB, free: 7.516 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05065/0.4578, allocations: 20.25 MB / 0.6237 GB, free: 3.328 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.51, allocations: 7.031 kB / 0.6237 GB, free: 3.324 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.85563758900389]