Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001925/0.001925, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002028/0.002028, allocations: 213.4 kB / 24.52 MB, free: 3.941 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2246/0.2246, allocations: 46.95 MB / 361.7 MB, free: 4.059 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 76.11 kB / 0.4969 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3359, allocations: 66.03 MB / 0.5613 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1679/0.5038, allocations: 131.4 MB / 0.6897 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002133/0.5059, allocations: 1.433 MB / 0.6911 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.506, allocations: 0 / 0.6911 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.5064, allocations: 43.75 kB / 0.6911 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.5075, allocations: 419.8 kB / 0.6915 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.508, allocations: 179.1 kB / 0.6917 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.5083, allocations: 183.3 kB / 0.6919 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.5083, allocations: 7.938 kB / 0.6919 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.5085, allocations: 87.62 kB / 0.692 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.5086, allocations: 63.73 kB / 0.692 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.5086, allocations: 8 kB / 0.692 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.5097, allocations: 0.5495 MB / 0.6926 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.5097, allocations: 31.84 kB / 0.6926 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.899e-05/0.5098, allocations: 51.78 kB / 0.6926 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006576/0.5104, allocations: 398.9 kB / 0.693 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5104, allocations: 0 / 0.693 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.385e-06/0.5105, allocations: 4 kB / 0.693 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.5105, allocations: 4 kB / 0.693 GB, free: 12.91 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000669/0.5111, allocations: 361.7 kB / 0.6934 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.5112, allocations: 12.03 kB / 0.6934 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.391e-05/0.5112, allocations: 384 / 0.6934 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.942e-05/0.5112, allocations: 42.73 kB / 0.6934 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.5135, allocations: 192.6 kB / 0.6936 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.5138, allocations: 173.3 kB / 0.6938 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.5138, allocations: 4 kB / 0.6938 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.5138, allocations: 12 kB / 0.6938 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.5144, allocations: 274.6 kB / 0.6941 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5144, allocations: 3.938 kB / 0.6941 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.5144, allocations: 4 kB / 0.6941 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5144, allocations: 4 kB / 0.6941 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006086/0.5151, allocations: 235.8 kB / 0.6943 GB, free: 11.53 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.001731/0.5168, allocations: 0.5704 MB / 0.6949 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.5172, allocations: 174.5 kB / 0.695 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.5175, allocations: 92.81 kB / 0.6951 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.5176, allocations: 19.98 kB / 0.6951 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.5176, allocations: 34.56 kB / 0.6952 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.5176, allocations: 0 / 0.6952 GB, free: 10.58 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.006023/0.5237, allocations: 1.391 MB / 0.6965 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.5237, allocations: 59.34 kB / 0.6966 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.5238, allocations: 113.8 kB / 0.6967 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.5238, allocations: 29.7 kB / 0.6967 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.522e-05/0.5239, allocations: 104.3 kB / 0.6968 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.97e-05/0.524, allocations: 71.42 kB / 0.6969 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5241, allocations: 45.69 kB / 0.6969 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5242, allocations: 318.8 kB / 0.6972 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.5245, allocations: 87.95 kB / 0.6973 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.5247, allocations: 125 kB / 0.6974 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/0.5252, allocations: 232.9 kB / 0.6976 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5252, allocations: 0 / 0.6976 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006604/0.5259, allocations: 284.4 kB / 0.6979 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5259, allocations: 4 kB / 0.6979 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5259, allocations: 0 / 0.6979 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001492/0.5261, allocations: 24.84 kB / 0.6979 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.5265, allocations: 55.89 kB / 0.698 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005124/0.527, allocations: 0.5406 MB / 0.6985 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.5274, allocations: 8.219 kB / 0.6985 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.5274, allocations: 15.98 kB / 0.6986 GB, free: 6.918 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.0001552/0.5276, allocations: 125.8 kB / 0.6987 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-05/0.5276, allocations: 7.953 kB / 0.6987 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008191/0.5285, allocations: 319 kB / 0.699 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5285, allocations: 0 / 0.699 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5285, allocations: 0 / 0.699 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5285, allocations: 0 / 0.699 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.5297, allocations: 0.6163 MB / 0.6996 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5297, allocations: 3.938 kB / 0.6996 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.5302, allocations: 55.98 kB / 0.6996 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-05/0.5302, allocations: 24.84 kB / 0.6997 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.5303, allocations: 11.98 kB / 0.6997 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/0.5313, allocations: 1.26 MB / 0.7009 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5313, allocations: 0 / 0.7009 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/0.5323, allocations: 454.7 kB / 0.7013 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.29e-05/0.5323, allocations: 11.97 kB / 0.7014 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.5323, allocations: 8 kB / 0.7014 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.5327, allocations: 8 kB / 0.7014 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.5327, allocations: 15.97 kB / 0.7014 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.5327, allocations: 15.98 kB / 0.7014 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.213e-05/0.5328, allocations: 87.2 kB / 0.7015 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5328, allocations: 4.062 kB / 0.7015 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005709/0.5334, allocations: 135.6 kB / 0.7016 GB, free: 3.551 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 (19): * Single equations (assignments): 18 * 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.001859/0.5352, allocations: 1.142 MB / 0.7027 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006585/0.5359, allocations: 223.7 kB / 0.7029 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5359, allocations: 4 kB / 0.7029 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004253/0.5363, allocations: 233.4 kB / 0.7032 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.5368, allocations: 48.42 kB / 0.7032 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.5401, allocations: 2.136 MB / 0.7053 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.5402, allocations: 97.83 kB / 0.7054 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002971/0.5405, allocations: 53.39 kB / 0.7054 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.5407, allocations: 39.42 kB / 0.7055 GB, free: 15.4 MB / 0.545 GB Notification: Performance of SimCode: time 7.02e-07/0.5407, allocations: 0 / 0.7055 GB, free: 15.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03328/0.574, allocations: 8.4 MB / 0.7137 GB, free: 7.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.85, allocations: 8 kB / 0.7137 GB, free: 7.152 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.930209281970747]