Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000923/0.000923, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008755/0.0008755, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9004/0.9004, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2351/0.2351, allocations: 34.25 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] 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.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.107e-05, allocations: 5.094 kB / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2762/0.2762, allocations: 131.8 MB / 0.5605 GB, free: 12.69 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.2786, allocations: 2.909 MB / 0.5634 GB, free: 9.77 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.427e-05/0.2787, allocations: 4 kB / 0.5634 GB, free: 9.766 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003832/0.2791, allocations: 59.53 kB / 0.5634 GB, free: 9.707 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.2811, allocations: 1.123 MB / 0.5645 GB, free: 8.578 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.2814, allocations: 203.2 kB / 0.5647 GB, free: 8.383 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003385/0.2818, allocations: 380.3 kB / 0.5651 GB, free: 8.012 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.2818, allocations: 5.312 kB / 0.5651 GB, free: 8.008 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002703/0.2821, allocations: 207.4 kB / 0.5653 GB, free: 7.805 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.2822, allocations: 103.7 kB / 0.5654 GB, free: 7.703 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.2823, allocations: 19.94 kB / 0.5654 GB, free: 7.684 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001794/0.284, allocations: 1.347 MB / 0.5667 GB, free: 6.332 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.2841, allocations: 87.77 kB / 0.5668 GB, free: 6.246 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.649e-05/0.2842, allocations: 87.88 kB / 0.5669 GB, free: 6.16 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.2853, allocations: 1.076 MB / 0.5679 GB, free: 5.082 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2853, allocations: 0 / 0.5679 GB, free: 5.082 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2853, allocations: 0 / 0.5679 GB, free: 5.082 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2853, allocations: 0 / 0.5679 GB, free: 5.082 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007129/0.286, allocations: 493.8 kB / 0.5684 GB, free: 4.574 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2861, allocations: 12.03 kB / 0.5684 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.2861, allocations: 58.72 kB / 0.5685 GB, free: 4.496 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008152/0.2869, allocations: 215.9 kB / 0.5687 GB, free: 4.289 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.2872, allocations: 193.4 kB / 0.5689 GB, free: 4.074 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.2872, allocations: 12.75 kB / 0.5689 GB, free: 4.062 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.2872, allocations: 23.94 kB / 0.5689 GB, free: 4.039 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.2877, allocations: 0.588 MB / 0.5695 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2877, allocations: 0 / 0.5695 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.2878, allocations: 8 kB / 0.5695 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.2878, allocations: 16 kB / 0.5695 GB, free: 3.371 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.2882, allocations: 416.4 kB / 0.5699 GB, free: 2.965 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.00109/0.2893, allocations: 0.7582 MB / 0.5706 GB, free: 2.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.2895, allocations: 220.5 kB / 0.5709 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.2897, allocations: 125.7 kB / 0.571 GB, free: 1.801 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007688/0.2904, allocations: 313 kB / 0.5713 GB, free: 1.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2905, allocations: 38.56 kB / 0.5713 GB, free: 1.453 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.2905, allocations: 0 / 0.5713 GB, free: 1.453 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007335/0.2912, allocations: 385.1 kB / 0.5717 GB, free: 1.074 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2912, allocations: 81.11 kB / 0.5718 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.2913, allocations: 116.1 kB / 0.5719 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.2913, allocations: 33.7 kB / 0.5719 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.2914, allocations: 116.5 kB / 0.572 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.2914, allocations: 115 kB / 0.5721 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.059e-05/0.2915, allocations: 66.02 kB / 0.5722 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.2916, allocations: 322.8 kB / 0.5725 GB, free: 196 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2917, allocations: 104.3 kB / 0.5726 GB, free: 92 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2919, allocations: 188.2 kB / 0.5728 GB, free: 15.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.2922, allocations: 318.7 kB / 0.5731 GB, free: 15.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2922, allocations: 0 / 0.5731 GB, free: 15.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004019/0.2926, allocations: 363.5 kB / 0.5734 GB, free: 15.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2926, allocations: 11.94 kB / 0.5734 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.2926, allocations: 7.938 kB / 0.5734 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2926, allocations: 4 kB / 0.5734 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.2928, allocations: 75.89 kB / 0.5735 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2928, allocations: 4.562 kB / 0.5735 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.2929, allocations: 23.84 kB / 0.5735 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.293, allocations: 12 kB / 0.5736 GB, free: 15.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.891e-05/0.2931, allocations: 150 kB / 0.5737 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.2931, allocations: 23.84 kB / 0.5737 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.2935, allocations: 338.1 kB / 0.574 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.2935, allocations: 4 kB / 0.574 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2936, allocations: 4 kB / 0.574 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2936, allocations: 0 / 0.574 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.2939, allocations: 278.4 kB / 0.5743 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2939, allocations: 0 / 0.5743 GB, free: 14.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.2941, allocations: 59.91 kB / 0.5744 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2941, allocations: 3.938 kB / 0.5744 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2941, allocations: 8 kB / 0.5744 GB, free: 14.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.2941, allocations: 9.547 kB / 0.5744 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2941, allocations: 4 kB / 0.5744 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.2946, allocations: 0.5307 MB / 0.5749 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.2946, allocations: 15.95 kB / 0.5749 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.2946, allocations: 10.69 kB / 0.5749 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.2948, allocations: 11.98 kB / 0.5749 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.2948, allocations: 19.95 kB / 0.575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.2948, allocations: 19.98 kB / 0.575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.159e-05/0.2949, allocations: 87.28 kB / 0.5751 GB, free: 13.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2949, allocations: 0 / 0.5751 GB, free: 13.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005454/0.2954, allocations: 247.3 kB / 0.5753 GB, free: 13.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001308/0.2967, allocations: 1.42 MB / 0.5767 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.2971, allocations: 266.1 kB / 0.5769 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2971, allocations: 0 / 0.5769 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.2972, allocations: 131.7 kB / 0.5771 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.2976, allocations: 94.67 kB / 0.5772 GB, free: 11.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.2997, allocations: 2.593 MB / 0.5797 GB, free: 8.523 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.926e-05/0.2998, allocations: 119.9 kB / 0.5798 GB, free: 8.383 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.3, allocations: 78.55 kB / 0.5799 GB, free: 8.309 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3001, allocations: 64.48 kB / 0.5799 GB, free: 8.246 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3001, allocations: 0 / 0.5799 GB, free: 8.246 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.3251, allocations: 11.98 MB / 0.5916 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.277, allocations: 8.828 kB / 0.5917 GB, free: 12.45 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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: 9.25274476222694]