Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 209.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.229/0.229, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 67.84 kB / 0.4961 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3336, allocations: 66.04 MB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX): time 0.01765/0.3512, allocations: 8.058 MB / 0.5684 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01723/0.3685, allocations: 9.883 MB / 0.5781 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.3685, allocations: 3.938 kB / 0.5781 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.3688, allocations: 39.81 kB / 0.5781 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00743/0.3762, allocations: 1.855 MB / 0.58 GB, free: 348 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.496e-06/0.3762, allocations: 0 / 0.58 GB, free: 348 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.3764, allocations: 51.67 kB / 0.58 GB, free: 296 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3764, allocations: 3.938 kB / 0.58 GB, free: 292 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.3766, allocations: 31.84 kB / 0.58 GB, free: 260 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.3766, allocations: 27.86 kB / 0.5801 GB, free: 232 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.3767, allocations: 0 / 0.5801 GB, free: 232 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/0.3888, allocations: 6.682 MB / 0.5866 GB, free: 9.531 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.3888, allocations: 11.88 kB / 0.5866 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/0.3889, allocations: 15.94 kB / 0.5866 GB, free: 9.504 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.4016, allocations: 5.088 MB / 0.5916 GB, free: 4.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.4016, allocations: 0 / 0.5916 GB, free: 4.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4016, allocations: 3.938 kB / 0.5916 GB, free: 4.406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.4016, allocations: 0 / 0.5916 GB, free: 4.406 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.00281/0.4044, allocations: 0.5114 MB / 0.5921 GB, free: 3.863 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4045, allocations: 8.031 kB / 0.5921 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.4045, allocations: 34.56 kB / 0.5921 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.4047, allocations: 11.98 kB / 0.5921 GB, free: 3.801 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.4048, allocations: 113.2 kB / 0.5922 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.4048, allocations: 0 / 0.5922 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.4048, allocations: 4 kB / 0.5922 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.405, allocations: 85.61 kB / 0.5923 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.405, allocations: 0 / 0.5923 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.405, allocations: 3.938 kB / 0.5923 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.405, allocations: 4 kB / 0.5923 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.4051, allocations: 79.97 kB / 0.5924 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005148/0.4057, allocations: 291.8 kB / 0.5927 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.4058, allocations: 34.58 kB / 0.5927 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.4059, allocations: 25 kB / 0.5927 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003255/0.4091, allocations: 0.8192 MB / 0.5935 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.4092, allocations: 34.56 kB / 0.5936 GB, free: 2.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.4092, allocations: 0 / 0.5936 GB, free: 2.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003295/0.4095, allocations: 109.9 kB / 0.5937 GB, free: 2.109 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.4095, allocations: 55.41 kB / 0.5937 GB, free: 2.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.4096, allocations: 101.8 kB / 0.5938 GB, free: 1.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.4097, allocations: 25.7 kB / 0.5939 GB, free: 1.902 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.4097, allocations: 92.03 kB / 0.5939 GB, free: 1.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.4097, allocations: 27.73 kB / 0.594 GB, free: 1.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.4098, allocations: 29.72 kB / 0.594 GB, free: 1.746 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.41, allocations: 322.8 kB / 0.5943 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.4101, allocations: 16 kB / 0.5943 GB, free: 1.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.769e-05/0.4101, allocations: 37.7 kB / 0.5944 GB, free: 1.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.944e-05/0.4102, allocations: 61.66 kB / 0.5944 GB, free: 1.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4102, allocations: 0 / 0.5944 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002596/0.4105, allocations: 101.6 kB / 0.5945 GB, free: 1.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4105, allocations: 4 kB / 0.5945 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4105, allocations: 0 / 0.5945 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.4105, allocations: 7.938 kB / 0.5945 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.4106, allocations: 12.03 kB / 0.5945 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4106, allocations: 0 / 0.5945 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.4106, allocations: 0 / 0.5945 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.4106, allocations: 4 kB / 0.5945 GB, free: 1.164 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 9.743e-05/0.4107, allocations: 117.8 kB / 0.5947 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/0.4108, allocations: 7.938 kB / 0.5947 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.4111, allocations: 149.7 kB / 0.5948 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001563/0.4112, allocations: 117.7 kB / 0.5949 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4112, allocations: 256 / 0.5949 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4112, allocations: 4 kB / 0.5949 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.4118, allocations: 413.2 kB / 0.5953 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4118, allocations: 0 / 0.5953 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.4118, allocations: 12 kB / 0.5953 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4118, allocations: 7.938 kB / 0.5953 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.4118, allocations: 4 kB / 0.5953 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4118, allocations: 0 / 0.5953 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4118, allocations: 4.172 kB / 0.5953 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.4122, allocations: 231.1 kB / 0.5956 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.851e-05/0.4122, allocations: 11.95 kB / 0.5956 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4122, allocations: 7.938 kB / 0.5956 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.576e-05/0.4123, allocations: 0 / 0.5956 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.4123, allocations: 7.984 kB / 0.5956 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4123, allocations: 8 kB / 0.5956 GB, free: 4 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.615e-05/0.4124, allocations: 75.28 kB / 0.5957 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4124, allocations: 0 / 0.5957 GB, free: 15.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002747/0.4151, allocations: 366.9 kB / 0.596 GB, free: 15.57 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.01584/0.4309, allocations: 4.739 MB / 0.6006 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.4312, allocations: 109.6 kB / 0.6008 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4312, allocations: 3.938 kB / 0.6008 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.436e-05/0.4313, allocations: 39.98 kB / 0.6008 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.4318, allocations: 51.19 kB / 0.6008 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.4339, allocations: 414.3 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.808e-05/0.434, allocations: 79.08 kB / 0.6013 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.811e-05/0.4341, allocations: 15.88 kB / 0.6013 GB, free: 10.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.4341, allocations: 27.42 kB / 0.6014 GB, free: 10 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4341, allocations: 0 / 0.6014 GB, free: 10 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05307/0.4872, allocations: 20.83 MB / 0.6217 GB, free: 5.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.06, allocations: 10.41 kB / 0.6217 GB, free: 5.273 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.436515866982518]