Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.001923/0.001923, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002386/0.002386, allocations: 212.7 kB / 23.73 MB, free: 4.387 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2613/0.2613, allocations: 46.96 MB / 360.9 MB, free: 4.02 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_high_T,fileNamePrefix="ModelicaTest_4_1_0_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_4_1_0_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.002781/0.002781, allocations: 75.88 kB / 0.4961 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4221, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01352/0.4357, allocations: 8.062 MB / 0.5685 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.4491, allocations: 9.898 MB / 0.5781 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.4492, allocations: 0 / 0.5781 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.4494, allocations: 31.81 kB / 0.5782 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00584/0.4553, allocations: 1.84 MB / 0.58 GB, free: 352 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.265e-06/0.4553, allocations: 3.938 kB / 0.58 GB, free: 348 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.4554, allocations: 55.66 kB / 0.58 GB, free: 292 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.4555, allocations: 7.938 kB / 0.58 GB, free: 284 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.4556, allocations: 27.86 kB / 0.58 GB, free: 256 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.449e-05/0.4557, allocations: 23.91 kB / 0.5801 GB, free: 232 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.4557, allocations: 3.938 kB / 0.5801 GB, free: 228 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.4677, allocations: 6.58 MB / 0.5865 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.4677, allocations: 3.984 kB / 0.5865 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.4678, allocations: 23.92 kB / 0.5865 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.4834, allocations: 5.096 MB / 0.5915 GB, free: 4.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.4834, allocations: 4 kB / 0.5915 GB, free: 4.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.357e-06/0.4834, allocations: 0 / 0.5915 GB, free: 4.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.4834, allocations: 0 / 0.5915 GB, free: 4.496 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.003551/0.487, allocations: 0.4997 MB / 0.592 GB, free: 3.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.4871, allocations: 8.031 kB / 0.592 GB, free: 3.957 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.4871, allocations: 34.56 kB / 0.592 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.4873, allocations: 11.98 kB / 0.592 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4874, allocations: 113.1 kB / 0.5922 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.4875, allocations: 4 kB / 0.5922 GB, free: 3.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.4875, allocations: 7.938 kB / 0.5922 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4877, allocations: 81.61 kB / 0.5922 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4877, allocations: 0 / 0.5922 GB, free: 3.668 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.4877, allocations: 4 kB / 0.5922 GB, free: 3.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.4877, allocations: 4 kB / 0.5923 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.4878, allocations: 75.95 kB / 0.5923 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005566/0.4884, allocations: 303.7 kB / 0.5926 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.4885, allocations: 30.58 kB / 0.5926 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.399e-05/0.4885, allocations: 32.91 kB / 0.5927 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00321/0.4917, allocations: 0.8036 MB / 0.5935 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.4918, allocations: 34.56 kB / 0.5935 GB, free: 2.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.4918, allocations: 0 / 0.5935 GB, free: 2.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003303/0.4921, allocations: 109.7 kB / 0.5936 GB, free: 2.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4922, allocations: 59.39 kB / 0.5937 GB, free: 2.141 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4923, allocations: 101.8 kB / 0.5938 GB, free: 2.031 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4923, allocations: 29.7 kB / 0.5938 GB, free: 1.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.4924, allocations: 88.03 kB / 0.5939 GB, free: 1.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.4924, allocations: 31.73 kB / 0.5939 GB, free: 1.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.692e-05/0.4925, allocations: 21.72 kB / 0.5939 GB, free: 1.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4927, allocations: 322.9 kB / 0.5942 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.4927, allocations: 23.94 kB / 0.5942 GB, free: 1.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.4928, allocations: 37.64 kB / 0.5943 GB, free: 1.457 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.4929, allocations: 66.08 kB / 0.5943 GB, free: 1.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4929, allocations: 3.938 kB / 0.5943 GB, free: 1.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002045/0.4931, allocations: 97.58 kB / 0.5944 GB, free: 1.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.4931, allocations: 6.5 kB / 0.5944 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4931, allocations: 0 / 0.5944 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4931, allocations: 0 / 0.5944 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.4932, allocations: 8 kB / 0.5945 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.4932, allocations: 7.938 kB / 0.5945 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.4933, allocations: 4 kB / 0.5945 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.4933, allocations: 8.172 kB / 0.5945 GB, free: 1.25 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.666e-05/0.4934, allocations: 109.8 kB / 0.5946 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.4934, allocations: 11.95 kB / 0.5946 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.4937, allocations: 149.8 kB / 0.5947 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001598/0.4938, allocations: 121.5 kB / 0.5948 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4939, allocations: 0 / 0.5948 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4939, allocations: 0 / 0.5948 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.4944, allocations: 409.3 kB / 0.5952 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4944, allocations: 0 / 0.5952 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.345e-05/0.4944, allocations: 12 kB / 0.5953 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4944, allocations: 7.922 kB / 0.5953 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.4945, allocations: 4 kB / 0.5953 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4945, allocations: 4 kB / 0.5953 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4945, allocations: 3.938 kB / 0.5953 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.4947, allocations: 226.9 kB / 0.5955 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.4947, allocations: 3.953 kB / 0.5955 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.4947, allocations: 7.938 kB / 0.5955 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.4948, allocations: 4 kB / 0.5955 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.4948, allocations: 11.92 kB / 0.5955 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.4948, allocations: 0 / 0.5955 GB, free: 108 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.096e-05/0.4949, allocations: 79.28 kB / 0.5956 GB, free: 28 kB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4949, allocations: 0 / 0.5956 GB, free: 28 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002787/0.4977, allocations: 366.9 kB / 0.5959 GB, free: 15.67 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.01471/0.5124, allocations: 4.747 MB / 0.6006 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.5127, allocations: 105.6 kB / 0.6007 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5127, allocations: 0 / 0.6007 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.5128, allocations: 47.92 kB / 0.6007 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.5132, allocations: 40.56 kB / 0.6008 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.5151, allocations: 418.1 kB / 0.6012 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.5152, allocations: 79.08 kB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.09e-05/0.5153, allocations: 15.94 kB / 0.6012 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.046e-05/0.5153, allocations: 31.42 kB / 0.6013 GB, free: 10.09 MB / 446.1 MB Notification: Performance of SimCode: time 7.02e-07/0.5153, allocations: 0 / 0.6013 GB, free: 10.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.058/0.5733, allocations: 20.77 MB / 0.6216 GB, free: 5.438 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.58, allocations: 13.77 kB / 0.6216 GB, free: 5.43 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.10723823402077]