Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000914/0.000914, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.001003/0.001003, allocations: 166 kB / 23.95 MB, free: 0.5977 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.9216/0.9216, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2483/0.2483, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.169e-05, allocations: 2.844 kB / 439.6 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2671/0.2672, allocations: 131.5 MB / 0.5577 GB, free: 1.105 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2684, allocations: 1.446 MB / 0.5591 GB, free: 15.66 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.2685, allocations: 0 / 0.5591 GB, free: 15.66 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.2688, allocations: 47.69 kB / 0.5592 GB, free: 15.62 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007135/0.2695, allocations: 429.6 kB / 0.5596 GB, free: 15.2 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.2699, allocations: 173.4 kB / 0.5597 GB, free: 15.03 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.2701, allocations: 187.1 kB / 0.5599 GB, free: 14.84 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.2701, allocations: 10.92 kB / 0.5599 GB, free: 14.84 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.2703, allocations: 103.7 kB / 0.56 GB, free: 14.73 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.2704, allocations: 55.86 kB / 0.5601 GB, free: 14.68 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2704, allocations: 4 kB / 0.5601 GB, free: 14.68 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006411/0.2711, allocations: 0.5492 MB / 0.5606 GB, free: 14.12 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.2711, allocations: 35.89 kB / 0.5607 GB, free: 14.09 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.2711, allocations: 39.92 kB / 0.5607 GB, free: 14.05 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.2716, allocations: 442.9 kB / 0.5611 GB, free: 13.62 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2716, allocations: 0 / 0.5611 GB, free: 13.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2716, allocations: 0 / 0.5611 GB, free: 13.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.2716, allocations: 8 kB / 0.5611 GB, free: 13.61 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.0004295/0.272, allocations: 354.5 kB / 0.5615 GB, free: 13.24 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2721, allocations: 15.97 kB / 0.5615 GB, free: 13.22 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.2721, allocations: 38.75 kB / 0.5615 GB, free: 13.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.2732, allocations: 207.9 kB / 0.5617 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.2734, allocations: 157.6 kB / 0.5619 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2734, allocations: 16.31 kB / 0.5619 GB, free: 12.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.2734, allocations: 4 kB / 0.5619 GB, free: 12.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003242/0.2737, allocations: 282.6 kB / 0.5622 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2738, allocations: 0 / 0.5622 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.2738, allocations: 0 / 0.5622 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.2738, allocations: 4 kB / 0.5622 GB, free: 12.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.2741, allocations: 235.8 kB / 0.5624 GB, free: 12.24 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.0009453/0.2751, allocations: 0.5686 MB / 0.5629 GB, free: 11.66 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.2753, allocations: 186.5 kB / 0.5631 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.2754, allocations: 88.81 kB / 0.5632 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/0.2755, allocations: 11.98 kB / 0.5632 GB, free: 11.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.2755, allocations: 34.56 kB / 0.5632 GB, free: 11.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.2755, allocations: 0 / 0.5632 GB, free: 11.32 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.002864/0.2784, allocations: 1.396 MB / 0.5646 GB, free: 9.871 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.2784, allocations: 63.28 kB / 0.5647 GB, free: 9.797 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.617e-05/0.2785, allocations: 109.8 kB / 0.5648 GB, free: 9.68 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.2785, allocations: 29.7 kB / 0.5648 GB, free: 9.645 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.2786, allocations: 104.3 kB / 0.5649 GB, free: 9.539 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.2786, allocations: 63.44 kB / 0.565 GB, free: 9.477 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.2786, allocations: 41.7 kB / 0.565 GB, free: 9.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.2787, allocations: 322.8 kB / 0.5653 GB, free: 9.105 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.2788, allocations: 87.95 kB / 0.5654 GB, free: 9.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.279, allocations: 125.6 kB / 0.5655 GB, free: 8.887 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.2793, allocations: 229.5 kB / 0.5657 GB, free: 8.652 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2793, allocations: 1.375 kB / 0.5657 GB, free: 8.652 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003439/0.2796, allocations: 285.6 kB / 0.566 GB, free: 8.367 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.2796, allocations: 4.094 kB / 0.566 GB, free: 8.363 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2796, allocations: 8 kB / 0.566 GB, free: 8.355 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.056e-05/0.2797, allocations: 28.78 kB / 0.566 GB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.2799, allocations: 55.95 kB / 0.5661 GB, free: 8.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002211/0.2801, allocations: 0.5289 MB / 0.5666 GB, free: 7.715 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.2803, allocations: 11.98 kB / 0.5666 GB, free: 7.703 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.2803, allocations: 8 kB / 0.5666 GB, free: 7.695 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 8.242e-05/0.2804, allocations: 131 kB / 0.5668 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.2804, allocations: 8.797 kB / 0.5668 GB, free: 7.551 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/0.2808, allocations: 319.3 kB / 0.5671 GB, free: 7.227 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.2808, allocations: 8 kB / 0.5671 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2808, allocations: 0 / 0.5671 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.2808, allocations: 17.28 kB / 0.5671 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006496/0.2815, allocations: 0.6165 MB / 0.5677 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2815, allocations: 4 kB / 0.5677 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.2817, allocations: 51.89 kB / 0.5678 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.525e-05/0.2817, allocations: 24.94 kB / 0.5678 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.2818, allocations: 8 kB / 0.5678 GB, free: 6.445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005465/0.2823, allocations: 1.252 MB / 0.569 GB, free: 5.078 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2823, allocations: 7.875 kB / 0.569 GB, free: 5.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.2828, allocations: 458.3 kB / 0.5695 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.497e-06/0.2828, allocations: 11.89 kB / 0.5695 GB, free: 4.586 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.2828, allocations: 4 kB / 0.5695 GB, free: 4.582 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.2829, allocations: 11.98 kB / 0.5695 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.283, allocations: 15.97 kB / 0.5695 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.283, allocations: 15.98 kB / 0.5695 GB, free: 4.539 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.283, allocations: 83.28 kB / 0.5696 GB, free: 4.457 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.283, allocations: 0 / 0.5696 GB, free: 4.457 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.2833, allocations: 139.7 kB / 0.5697 GB, free: 4.32 MB / 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.0009829/0.2843, allocations: 1.14 MB / 0.5708 GB, free: 3.145 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.2847, allocations: 223.7 kB / 0.571 GB, free: 2.926 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2847, allocations: 0 / 0.571 GB, free: 2.926 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.2849, allocations: 233.6 kB / 0.5713 GB, free: 2.688 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.2852, allocations: 48.06 kB / 0.5713 GB, free: 2.641 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.2869, allocations: 2.09 MB / 0.5734 GB, free: 444 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.287, allocations: 94.09 kB / 0.5734 GB, free: 332 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001832/0.2872, allocations: 49.45 kB / 0.5735 GB, free: 284 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.2873, allocations: 40.48 kB / 0.5735 GB, free: 244 kB / 474.7 MB Notification: Performance of SimCode: time 5.11e-07/0.2873, allocations: 4 kB / 0.5735 GB, free: 240 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.3073, allocations: 8.826 MB / 0.5822 GB, free: 7.555 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.248, allocations: 10.69 kB / 0.5822 GB, free: 7.547 MB / 490.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.258509174920619]