Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001686/0.001686, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002054/0.002054, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2298/0.2298, allocations: 46.95 MB / 360.9 MB, free: 4.008 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.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.34, allocations: 66.03 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1812/0.5212, allocations: 131.4 MB / 0.6888 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.5226, allocations: 0.9501 MB / 0.6898 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.5227, allocations: 0 / 0.6898 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.523, allocations: 35.77 kB / 0.6898 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007703/0.5237, allocations: 280.4 kB / 0.6901 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.5242, allocations: 115.4 kB / 0.6902 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.5244, allocations: 187.2 kB / 0.6904 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.795e-05/0.5245, allocations: 4 kB / 0.6904 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.5247, allocations: 95.56 kB / 0.6905 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.5248, allocations: 55.81 kB / 0.6905 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.5248, allocations: 11.94 kB / 0.6905 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005064/0.5253, allocations: 271.7 kB / 0.6908 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.5254, allocations: 23.89 kB / 0.6908 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.5254, allocations: 43.86 kB / 0.6908 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.5259, allocations: 279.2 kB / 0.6911 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5259, allocations: 0 / 0.6911 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5259, allocations: 0 / 0.6911 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5259, allocations: 0 / 0.6911 GB, free: 14.02 MB / 0.5294 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.0005125/0.5264, allocations: 333.8 kB / 0.6914 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5264, allocations: 15.97 kB / 0.6914 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.5265, allocations: 42.73 kB / 0.6915 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.5285, allocations: 196.6 kB / 0.6917 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.5289, allocations: 161.5 kB / 0.6918 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.5289, allocations: 0 / 0.6918 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.529, allocations: 12 kB / 0.6918 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.5295, allocations: 297.1 kB / 0.6921 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.5295, allocations: 4 kB / 0.6921 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.5296, allocations: 8 kB / 0.6921 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.5296, allocations: 0 / 0.6921 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/0.53, allocations: 167.9 kB / 0.6923 GB, free: 12.71 MB / 0.5294 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.001119/0.5311, allocations: 0.5356 MB / 0.6928 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.5315, allocations: 130.5 kB / 0.6929 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.5316, allocations: 68.83 kB / 0.693 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.5316, allocations: 3.984 kB / 0.693 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.5317, allocations: 38.81 kB / 0.6931 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.5317, allocations: 0 / 0.6931 GB, free: 11.86 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.005324/0.537, allocations: 1.157 MB / 0.6942 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.537, allocations: 59.34 kB / 0.6942 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.5372, allocations: 121.8 kB / 0.6944 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.5372, allocations: 25.7 kB / 0.6944 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.5373, allocations: 99.98 kB / 0.6945 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/0.5373, allocations: 75.36 kB / 0.6945 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.5374, allocations: 57.69 kB / 0.6946 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5376, allocations: 318.8 kB / 0.6949 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.5377, allocations: 71.95 kB / 0.695 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.5379, allocations: 110.9 kB / 0.6951 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.5383, allocations: 181.6 kB / 0.6953 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5383, allocations: 0 / 0.6953 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005531/0.5388, allocations: 259.7 kB / 0.6955 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.5388, allocations: 8 kB / 0.6955 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5388, allocations: 0 / 0.6955 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.5391, allocations: 52.77 kB / 0.6956 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.5394, allocations: 56.06 kB / 0.6956 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006236/0.54, allocations: 0.564 MB / 0.6962 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.5402, allocations: 8.031 kB / 0.6962 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.5403, allocations: 27.98 kB / 0.6962 GB, free: 8.484 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.0001937/0.5405, allocations: 117.8 kB / 0.6963 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.5405, allocations: 15.84 kB / 0.6963 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009061/0.5414, allocations: 363.3 kB / 0.6967 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5414, allocations: 4 kB / 0.6967 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5414, allocations: 4 kB / 0.6967 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.5415, allocations: 0 / 0.6967 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5425, allocations: 0.5675 MB / 0.6972 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5425, allocations: 0 / 0.6972 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.5429, allocations: 67.89 kB / 0.6973 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-05/0.543, allocations: 20.94 kB / 0.6973 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.543, allocations: 12 kB / 0.6973 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.5441, allocations: 1.26 MB / 0.6986 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5441, allocations: 4.031 kB / 0.6986 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.5448, allocations: 432.6 kB / 0.699 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.825e-05/0.5448, allocations: 12.2 kB / 0.699 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.5448, allocations: 4 kB / 0.699 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.5451, allocations: 11.98 kB / 0.699 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.5451, allocations: 23.97 kB / 0.699 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.5451, allocations: 23.98 kB / 0.699 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.8e-05/0.5452, allocations: 91.22 kB / 0.6991 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5452, allocations: 0 / 0.6991 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004114/0.5456, allocations: 83.92 kB / 0.6992 GB, free: 5.176 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.00131/0.5469, allocations: 1.022 MB / 0.7002 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005364/0.5475, allocations: 197.6 kB / 0.7004 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5475, allocations: 0 / 0.7004 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.5478, allocations: 222.5 kB / 0.7006 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.5483, allocations: 50.88 kB / 0.7007 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.5512, allocations: 2.073 MB / 0.7027 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.5513, allocations: 93.97 kB / 0.7028 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00031/0.5516, allocations: 77.77 kB / 0.7029 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.5518, allocations: 67.39 kB / 0.7029 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.5518, allocations: 0 / 0.7029 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04042/0.5922, allocations: 7.942 MB / 0.7107 GB, free: 9.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.36, allocations: 4.062 kB / 0.7107 GB, free: 9.406 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 16.372075096995104]