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.001157/0.001157, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001029/0.001029, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9061/0.9061, allocations: 177.1 MB / 204.3 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] 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.2437/0.2437, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.26e-05, allocations: 2.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2763/0.2764, allocations: 131.5 MB / 0.5603 GB, free: 13.12 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.2776, allocations: 1.433 MB / 0.5617 GB, free: 11.68 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.2777, allocations: 0 / 0.5617 GB, free: 11.68 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.278, allocations: 51.67 kB / 0.5617 GB, free: 11.63 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008416/0.2789, allocations: 413.7 kB / 0.5621 GB, free: 11.23 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.2792, allocations: 187.5 kB / 0.5623 GB, free: 11.05 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.2795, allocations: 187.1 kB / 0.5625 GB, free: 10.86 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.2795, allocations: 6.922 kB / 0.5625 GB, free: 10.86 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.2797, allocations: 107.6 kB / 0.5626 GB, free: 10.75 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.2798, allocations: 47.89 kB / 0.5626 GB, free: 10.71 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2798, allocations: 4 kB / 0.5626 GB, free: 10.7 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.2806, allocations: 0.557 MB / 0.5632 GB, free: 10.14 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.2806, allocations: 31.84 kB / 0.5632 GB, free: 10.11 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.2807, allocations: 47.91 kB / 0.5632 GB, free: 10.07 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.2812, allocations: 438.9 kB / 0.5637 GB, free: 9.637 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2812, allocations: 4 kB / 0.5637 GB, free: 9.633 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2812, allocations: 0 / 0.5637 GB, free: 9.633 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2812, allocations: 0 / 0.5637 GB, free: 9.633 MB / 474.7 MB 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.0004596/0.2817, allocations: 362.4 kB / 0.564 GB, free: 9.254 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2817, allocations: 12.03 kB / 0.564 GB, free: 9.242 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.2817, allocations: 42.73 kB / 0.5641 GB, free: 9.191 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.2829, allocations: 203.9 kB / 0.5643 GB, free: 8.996 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.2831, allocations: 149.7 kB / 0.5644 GB, free: 8.824 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2831, allocations: 8.125 kB / 0.5644 GB, free: 8.816 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.2831, allocations: 8 kB / 0.5644 GB, free: 8.809 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.2834, allocations: 282.5 kB / 0.5647 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2835, allocations: 0 / 0.5647 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.2835, allocations: 4 kB / 0.5647 GB, free: 8.504 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2835, allocations: 5.5 kB / 0.5647 GB, free: 8.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.2838, allocations: 240.7 kB / 0.5649 GB, free: 8.266 MB / 474.7 MB 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.001052/0.2849, allocations: 0.5667 MB / 0.5655 GB, free: 7.688 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.2851, allocations: 186.4 kB / 0.5656 GB, free: 7.496 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.2853, allocations: 92.44 kB / 0.5657 GB, free: 7.406 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.772e-05/0.2854, allocations: 19.98 kB / 0.5658 GB, free: 7.387 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2854, allocations: 34.56 kB / 0.5658 GB, free: 7.344 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.2854, allocations: 3.938 kB / 0.5658 GB, free: 7.34 MB / 474.7 MB 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.003007/0.2884, allocations: 1.39 MB / 0.5671 GB, free: 5.887 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.2884, allocations: 51.41 kB / 0.5672 GB, free: 5.824 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.2885, allocations: 113.8 kB / 0.5673 GB, free: 5.703 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.2885, allocations: 25.7 kB / 0.5673 GB, free: 5.672 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.2886, allocations: 104.3 kB / 0.5674 GB, free: 5.566 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.2886, allocations: 67.44 kB / 0.5675 GB, free: 5.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.2887, allocations: 41.7 kB / 0.5675 GB, free: 5.453 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.2887, allocations: 322.8 kB / 0.5678 GB, free: 5.129 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.2889, allocations: 91.95 kB / 0.5679 GB, free: 5.039 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.289, allocations: 129.5 kB / 0.5681 GB, free: 4.902 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.2893, allocations: 225.9 kB / 0.5683 GB, free: 4.672 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2893, allocations: 7.125 kB / 0.5683 GB, free: 4.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003607/0.2896, allocations: 285.7 kB / 0.5685 GB, free: 4.383 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2897, allocations: 4 kB / 0.5686 GB, free: 4.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2897, allocations: 4 kB / 0.5686 GB, free: 4.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001015/0.2898, allocations: 24.84 kB / 0.5686 GB, free: 4.348 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.29, allocations: 55.89 kB / 0.5686 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002535/0.2902, allocations: 0.533 MB / 0.5692 GB, free: 3.734 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.2904, allocations: 11.98 kB / 0.5692 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.2904, allocations: 9.031 kB / 0.5692 GB, free: 3.715 MB / 474.7 MB 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 9.451e-05/0.2905, allocations: 130.8 kB / 0.5693 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.2905, allocations: 11.95 kB / 0.5693 GB, free: 3.566 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.291, allocations: 314.6 kB / 0.5696 GB, free: 3.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.291, allocations: 4 kB / 0.5696 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.291, allocations: 7.922 kB / 0.5696 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.291, allocations: 2.062 kB / 0.5696 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/0.2917, allocations: 0.629 MB / 0.5702 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2917, allocations: 0 / 0.5702 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.2919, allocations: 47.95 kB / 0.5703 GB, free: 2.504 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.814e-05/0.2919, allocations: 16.84 kB / 0.5703 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.292, allocations: 8 kB / 0.5703 GB, free: 2.477 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006605/0.2926, allocations: 1.263 MB / 0.5715 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2926, allocations: 0 / 0.5715 GB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.2932, allocations: 450.7 kB / 0.572 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.2932, allocations: 11.89 kB / 0.572 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2932, allocations: 4 kB / 0.572 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.2934, allocations: 11.98 kB / 0.572 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.2934, allocations: 19.91 kB / 0.572 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.2934, allocations: 16.11 kB / 0.572 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.713e-05/0.2934, allocations: 91.27 kB / 0.5721 GB, free: 492 kB / 474.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2934, allocations: 0 / 0.5721 GB, free: 492 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004013/0.2938, allocations: 135.7 kB / 0.5722 GB, free: 356 kB / 474.7 MB 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.001091/0.2949, allocations: 1.141 MB / 0.5734 GB, free: 15.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004205/0.2954, allocations: 216 kB / 0.5736 GB, free: 14.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2954, allocations: 7.938 kB / 0.5736 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.2956, allocations: 226.6 kB / 0.5738 GB, free: 14.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.2959, allocations: 59.36 kB / 0.5738 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.2978, allocations: 2.075 MB / 0.5759 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.241e-05/0.2979, allocations: 94.09 kB / 0.576 GB, free: 12.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.2981, allocations: 53.45 kB / 0.576 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.975e-05/0.2982, allocations: 44.47 kB / 0.5761 GB, free: 12.26 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2982, allocations: 0 / 0.5761 GB, free: 12.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.3216, allocations: 8.823 MB / 0.5847 GB, free: 3.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.35, allocations: 3.938 kB / 0.5847 GB, free: 3.586 MB / 490.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/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: 10.318244198337197]