Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001345/0.001345, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001463/0.001463, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.95 MB / 359.6 MB, free: 6.152 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 59.89 kB / 0.4938 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 65.47 MB / 0.5577 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1784/0.5362, allocations: 131.2 MB / 0.6859 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.5377, allocations: 0.8683 MB / 0.6867 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.415e-05/0.5378, allocations: 4 kB / 0.6867 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.5381, allocations: 31.75 kB / 0.6868 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008124/0.5389, allocations: 244.7 kB / 0.687 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.5394, allocations: 123.5 kB / 0.6871 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.5397, allocations: 167.3 kB / 0.6873 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.586e-05/0.5397, allocations: 19.94 kB / 0.6873 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.54, allocations: 91.61 kB / 0.6874 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.5401, allocations: 51.83 kB / 0.6874 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.5401, allocations: 4 kB / 0.6874 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.5409, allocations: 263.7 kB / 0.6877 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.5409, allocations: 23.91 kB / 0.6877 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.541, allocations: 39.8 kB / 0.6877 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006176/0.5416, allocations: 291.2 kB / 0.688 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5416, allocations: 0 / 0.688 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5416, allocations: 4 kB / 0.688 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.5417, allocations: 0 / 0.688 GB, free: 1.578 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006565/0.5423, allocations: 333.8 kB / 0.6883 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.5424, allocations: 12.03 kB / 0.6884 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.894e-05/0.5424, allocations: 4.188 kB / 0.6884 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.5424, allocations: 38.75 kB / 0.6884 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.5447, allocations: 200.6 kB / 0.6886 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.545, allocations: 153.4 kB / 0.6887 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.545, allocations: 8 kB / 0.6887 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.5451, allocations: 7.984 kB / 0.6888 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.5458, allocations: 301.2 kB / 0.689 GB, free: 456 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5458, allocations: 3.938 kB / 0.689 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.5458, allocations: 0 / 0.689 GB, free: 452 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.5458, allocations: 4 kB / 0.689 GB, free: 448 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.5463, allocations: 171.8 kB / 0.6892 GB, free: 276 kB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.5475, allocations: 0.5356 MB / 0.6897 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.5478, allocations: 134.5 kB / 0.6899 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.548, allocations: 68.81 kB / 0.6899 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.548, allocations: 7.922 kB / 0.6899 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.5481, allocations: 46.48 kB / 0.69 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.5481, allocations: 0 / 0.69 GB, free: 15.41 MB / 0.5294 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005512/0.5536, allocations: 1.147 MB / 0.6911 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.5536, allocations: 55.41 kB / 0.6912 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.5538, allocations: 113.8 kB / 0.6913 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.5538, allocations: 29.7 kB / 0.6913 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.5539, allocations: 95.98 kB / 0.6914 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.554, allocations: 75.38 kB / 0.6915 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.5541, allocations: 49.7 kB / 0.6915 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5543, allocations: 330.7 kB / 0.6918 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.5544, allocations: 71.95 kB / 0.6919 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.5546, allocations: 104.9 kB / 0.692 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000363/0.555, allocations: 181.4 kB / 0.6922 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.555, allocations: 0 / 0.6922 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005385/0.5555, allocations: 263.8 kB / 0.6924 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.5556, allocations: 6.656 kB / 0.6924 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5556, allocations: 4 kB / 0.6924 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.5558, allocations: 48.83 kB / 0.6925 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.5561, allocations: 51.91 kB / 0.6925 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004721/0.5566, allocations: 0.564 MB / 0.6931 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.5568, allocations: 8.219 kB / 0.6931 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.5568, allocations: 27.98 kB / 0.6931 GB, free: 12.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.557, allocations: 125.8 kB / 0.6932 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.557, allocations: 11.89 kB / 0.6932 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008095/0.5578, allocations: 351 kB / 0.6936 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.5579, allocations: 0 / 0.6936 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.5579, allocations: 0 / 0.6936 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5579, allocations: 0 / 0.6936 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.559, allocations: 0.5791 MB / 0.6941 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.559, allocations: 3.938 kB / 0.6941 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.5594, allocations: 67.95 kB / 0.6942 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.597e-05/0.5594, allocations: 20.78 kB / 0.6942 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.5595, allocations: 15.98 kB / 0.6942 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.5606, allocations: 1.275 MB / 0.6955 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5606, allocations: 0 / 0.6955 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007512/0.5614, allocations: 432.7 kB / 0.6959 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.5614, allocations: 11.98 kB / 0.6959 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.5615, allocations: 8 kB / 0.6959 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.5617, allocations: 11.94 kB / 0.6959 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.5617, allocations: 23.95 kB / 0.6959 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.5618, allocations: 32.08 kB / 0.696 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.5619, allocations: 91.59 kB / 0.6961 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5e-08/0.5619, allocations: 0 / 0.6961 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004293/0.5623, allocations: 83.92 kB / 0.6961 GB, free: 8.719 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001369/0.5637, allocations: 1.011 MB / 0.6971 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.5642, allocations: 191.7 kB / 0.6973 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5642, allocations: 0 / 0.6973 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.5646, allocations: 224.7 kB / 0.6975 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.565, allocations: 40.19 kB / 0.6976 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.5679, allocations: 2.1 MB / 0.6996 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.987e-05/0.568, allocations: 89.97 kB / 0.6997 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003463/0.5683, allocations: 77.39 kB / 0.6998 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.5686, allocations: 75.39 kB / 0.6998 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.5686, allocations: 0 / 0.6998 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/0.6129, allocations: 7.593 MB / 0.7073 GB, free: 13.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.86, allocations: 14.91 kB / 0.7073 GB, free: 13.29 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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: 17.06584145198576]