Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.00088/0.00088, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008106/0.0008106, allocations: 170 kB / 23.94 MB, free: 0.6172 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.9308/0.9308, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.2913/0.2913, allocations: 34.25 MB / 294.9 MB, free: 0.7109 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.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.321e-05, allocations: 6.281 kB / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3233/0.3233, allocations: 131.8 MB / 0.5605 GB, free: 12.83 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.3258, allocations: 2.912 MB / 0.5634 GB, free: 9.91 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.3259, allocations: 7.875 kB / 0.5634 GB, free: 9.902 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.3263, allocations: 59.61 kB / 0.5635 GB, free: 9.844 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.3285, allocations: 1.122 MB / 0.5645 GB, free: 8.719 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.3289, allocations: 207.4 kB / 0.5647 GB, free: 8.523 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.3292, allocations: 380.3 kB / 0.5651 GB, free: 8.152 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.608e-05/0.3293, allocations: 5.312 kB / 0.5651 GB, free: 8.148 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.3296, allocations: 207.4 kB / 0.5653 GB, free: 7.945 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.3299, allocations: 107.7 kB / 0.5654 GB, free: 7.84 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.3299, allocations: 12 kB / 0.5654 GB, free: 7.828 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.3322, allocations: 1.348 MB / 0.5667 GB, free: 6.473 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3323, allocations: 91.75 kB / 0.5668 GB, free: 6.383 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.3324, allocations: 79.83 kB / 0.5669 GB, free: 6.305 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.3338, allocations: 1.083 MB / 0.568 GB, free: 5.219 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.3338, allocations: 3.984 kB / 0.568 GB, free: 5.215 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3338, allocations: 0 / 0.568 GB, free: 5.215 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3339, allocations: 0 / 0.568 GB, free: 5.215 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.0009112/0.3348, allocations: 497.7 kB / 0.5684 GB, free: 4.703 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3348, allocations: 8.031 kB / 0.5685 GB, free: 4.695 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.823e-05/0.3349, allocations: 54.73 kB / 0.5685 GB, free: 4.633 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008846/0.3358, allocations: 212.6 kB / 0.5687 GB, free: 4.426 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.336, allocations: 193.5 kB / 0.5689 GB, free: 4.211 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3361, allocations: 12.75 kB / 0.5689 GB, free: 4.199 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.3361, allocations: 23.94 kB / 0.5689 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.3366, allocations: 0.5881 MB / 0.5695 GB, free: 3.531 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3366, allocations: 0 / 0.5695 GB, free: 3.531 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.3367, allocations: 9.5 kB / 0.5695 GB, free: 3.523 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.3367, allocations: 8 kB / 0.5695 GB, free: 3.516 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.3371, allocations: 421.9 kB / 0.5699 GB, free: 3.105 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.001227/0.3383, allocations: 0.766 MB / 0.5707 GB, free: 2.293 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.3387, allocations: 227.9 kB / 0.5709 GB, free: 2.059 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3388, allocations: 125.7 kB / 0.571 GB, free: 1.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008959/0.3397, allocations: 302.4 kB / 0.5713 GB, free: 1.637 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3397, allocations: 38.56 kB / 0.5713 GB, free: 1.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 2.275e-06/0.3397, allocations: 0 / 0.5713 GB, free: 1.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008389/0.3406, allocations: 390.5 kB / 0.5717 GB, free: 1.207 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3406, allocations: 85.11 kB / 0.5718 GB, free: 1.105 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3407, allocations: 117.8 kB / 0.5719 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3408, allocations: 29.7 kB / 0.5719 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.3408, allocations: 114.9 kB / 0.572 GB, free: 0.832 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.3409, allocations: 115 kB / 0.5721 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.341, allocations: 66.02 kB / 0.5722 GB, free: 0.6484 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003355/0.3414, allocations: 322.8 kB / 0.5725 GB, free: 332 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.3415, allocations: 104.2 kB / 0.5726 GB, free: 228 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.3417, allocations: 186.9 kB / 0.5728 GB, free: 4 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.3421, allocations: 316.8 kB / 0.5731 GB, free: 15.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3421, allocations: 0 / 0.5731 GB, free: 15.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004617/0.3425, allocations: 369.1 kB / 0.5734 GB, free: 15.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3426, allocations: 4 kB / 0.5734 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3426, allocations: 4 kB / 0.5735 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3426, allocations: 4 kB / 0.5735 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.3428, allocations: 75.89 kB / 0.5735 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.3428, allocations: 4.312 kB / 0.5735 GB, free: 15.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.3429, allocations: 27.84 kB / 0.5736 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.343, allocations: 19.98 kB / 0.5736 GB, free: 15.16 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 0.0001315/0.3431, allocations: 145.7 kB / 0.5737 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.3432, allocations: 23.78 kB / 0.5737 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.3437, allocations: 335.6 kB / 0.5741 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.3437, allocations: 4 kB / 0.5741 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3437, allocations: 0 / 0.5741 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3437, allocations: 3.938 kB / 0.5741 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.3441, allocations: 286.3 kB / 0.5743 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3441, allocations: 0 / 0.5743 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.3443, allocations: 51.97 kB / 0.5744 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3443, allocations: 8 kB / 0.5744 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.3443, allocations: 11.98 kB / 0.5744 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3443, allocations: 0 / 0.5744 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3443, allocations: 3.938 kB / 0.5744 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.3448, allocations: 0.5267 MB / 0.5749 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.953e-05/0.3448, allocations: 19.95 kB / 0.5749 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3448, allocations: 7.984 kB / 0.575 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.345, allocations: 15.98 kB / 0.575 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.967e-05/0.345, allocations: 15.97 kB / 0.575 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.3451, allocations: 23.98 kB / 0.575 GB, free: 13.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.551e-05/0.3451, allocations: 87.27 kB / 0.5751 GB, free: 13.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3451, allocations: 0 / 0.5751 GB, free: 13.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006868/0.3458, allocations: 243.3 kB / 0.5753 GB, free: 13.31 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.001372/0.3472, allocations: 1.426 MB / 0.5767 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.3475, allocations: 259.7 kB / 0.577 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3475, allocations: 0 / 0.577 GB, free: 11.61 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3477, allocations: 135.7 kB / 0.5771 GB, free: 11.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3481, allocations: 90.56 kB / 0.5772 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.3504, allocations: 2.594 MB / 0.5797 GB, free: 8.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.3505, allocations: 123.9 kB / 0.5798 GB, free: 8.516 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002186/0.3507, allocations: 80.86 kB / 0.5799 GB, free: 8.441 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3508, allocations: 60.48 kB / 0.58 GB, free: 8.383 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3508, allocations: 0 / 0.58 GB, free: 8.383 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3815, allocations: 11.99 MB / 0.5917 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.98/7.362, allocations: 6.719 kB / 0.5917 GB, free: 12.59 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.476666750386357]