Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001148/0.001148, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2037/0.2037, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.88 kB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3256, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.162/0.4876, allocations: 152.5 MB / 0.6794 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.4898, allocations: 1.6 MB / 0.6809 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.769e-05/0.4899, allocations: 4 kB / 0.6809 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.4902, allocations: 55.66 kB / 0.681 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.4913, allocations: 406.1 kB / 0.6814 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.4919, allocations: 174.8 kB / 0.6815 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.4921, allocations: 187.2 kB / 0.6817 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.4922, allocations: 8 kB / 0.6817 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.4923, allocations: 83.69 kB / 0.6818 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.4925, allocations: 59.75 kB / 0.6819 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.4925, allocations: 4 kB / 0.6819 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.4936, allocations: 0.5925 MB / 0.6824 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.4937, allocations: 31.91 kB / 0.6825 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.4937, allocations: 55.72 kB / 0.6825 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006765/0.4944, allocations: 406.6 kB / 0.6829 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.4944, allocations: 7.938 kB / 0.6829 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4945, allocations: 0 / 0.6829 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.4945, allocations: 0 / 0.6829 GB, free: 5.145 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.0006082/0.4951, allocations: 434.9 kB / 0.6833 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4951, allocations: 8.031 kB / 0.6834 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.4952, allocations: 46.73 kB / 0.6834 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.4976, allocations: 200.6 kB / 0.6836 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.4979, allocations: 211.6 kB / 0.6838 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4979, allocations: 7.938 kB / 0.6838 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.4979, allocations: 8 kB / 0.6838 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.4984, allocations: 205.1 kB / 0.684 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.4984, allocations: 0 / 0.684 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.4985, allocations: 7.938 kB / 0.684 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.4985, allocations: 3.984 kB / 0.684 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.4991, allocations: 239.8 kB / 0.6842 GB, free: 3.703 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.001783/0.5009, allocations: 0.6629 MB / 0.6849 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.5013, allocations: 182.5 kB / 0.6851 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.5016, allocations: 96.81 kB / 0.6852 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.5017, allocations: 89.09 kB / 0.6852 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.5018, allocations: 34.56 kB / 0.6853 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.5018, allocations: 0 / 0.6853 GB, free: 2.551 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.005831/0.5076, allocations: 1.538 MB / 0.6868 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.5077, allocations: 55.39 kB / 0.6868 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.838e-05/0.5078, allocations: 113.8 kB / 0.6869 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.5078, allocations: 29.7 kB / 0.687 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.5079, allocations: 104.3 kB / 0.6871 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/0.508, allocations: 67.42 kB / 0.6871 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.5081, allocations: 41.7 kB / 0.6872 GB, free: 464 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5082, allocations: 318.8 kB / 0.6875 GB, free: 136 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.5084, allocations: 87.95 kB / 0.6876 GB, free: 48 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.5087, allocations: 134.4 kB / 0.6877 GB, free: 15.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.5092, allocations: 219.2 kB / 0.6879 GB, free: 15.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5092, allocations: 4 kB / 0.6879 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006245/0.5098, allocations: 285.3 kB / 0.6882 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5099, allocations: 11.98 kB / 0.6882 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.5099, allocations: 4 kB / 0.6882 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/0.51, allocations: 20.84 kB / 0.6882 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.5105, allocations: 63.94 kB / 0.6883 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003734/0.5109, allocations: 0.5406 MB / 0.6888 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.5112, allocations: 7.984 kB / 0.6888 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.5112, allocations: 12 kB / 0.6888 GB, free: 14.7 MB / 0.545 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.0001296/0.5114, allocations: 117.9 kB / 0.6889 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.5114, allocations: 11.95 kB / 0.6889 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007411/0.5122, allocations: 319 kB / 0.6892 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5122, allocations: 8 kB / 0.6892 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5122, allocations: 0 / 0.6892 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5122, allocations: 0 / 0.6892 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5134, allocations: 0.6795 MB / 0.6899 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5134, allocations: 96 / 0.6899 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.5139, allocations: 55.95 kB / 0.69 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.218e-05/0.5139, allocations: 24.78 kB / 0.69 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.514, allocations: 8 kB / 0.69 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009767/0.515, allocations: 1.365 MB / 0.6913 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.515, allocations: 3.938 kB / 0.6913 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.5159, allocations: 457.5 kB / 0.6918 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.516, allocations: 93.06 kB / 0.6919 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.516, allocations: 3.938 kB / 0.6919 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.5164, allocations: 12 kB / 0.6919 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.101e-05/0.5164, allocations: 24.03 kB / 0.6919 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.5164, allocations: 4 kB / 0.6919 GB, free: 11.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.983e-05/0.5165, allocations: 95.56 kB / 0.692 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5165, allocations: 0 / 0.692 GB, free: 11.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005258/0.517, allocations: 135.7 kB / 0.6921 GB, free: 11.03 MB / 0.545 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.001682/0.5187, allocations: 1.139 MB / 0.6932 GB, free: 9.855 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006132/0.5193, allocations: 235.9 kB / 0.6935 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5194, allocations: 4 kB / 0.6935 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.5198, allocations: 230.6 kB / 0.6937 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.5202, allocations: 44.09 kB / 0.6937 GB, free: 9.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.5231, allocations: 2.123 MB / 0.6958 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.5234, allocations: 0.7124 MB / 0.6965 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002823/0.5237, allocations: 61.69 kB / 0.6965 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.5238, allocations: 43.41 kB / 0.6966 GB, free: 6.262 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.5238, allocations: 0 / 0.6966 GB, free: 6.262 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02845/0.5523, allocations: 7.964 MB / 0.7044 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.37, allocations: 9.688 kB / 0.7044 GB, free: 14.41 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches