Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008804/0.0008804, 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.0009508/0.0009508, 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.9282/0.9282, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.242/0.242, allocations: 32.78 MB / 293.5 MB, free: 1.246 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.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 439.6 MB, free: 4.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.5e-05, allocations: 4.109 kB / 439.6 MB, free: 4.289 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3288/0.3289, allocations: 131.8 MB / 0.558 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00279/0.3317, allocations: 2.828 MB / 0.5608 GB, free: 14.03 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.3318, allocations: 0 / 0.5608 GB, free: 14.03 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.3322, allocations: 63.59 kB / 0.5608 GB, free: 13.97 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.3345, allocations: 1.083 MB / 0.5619 GB, free: 12.88 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.335, allocations: 203.2 kB / 0.5621 GB, free: 12.69 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.3354, allocations: 360.3 kB / 0.5624 GB, free: 12.34 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.3354, allocations: 9.312 kB / 0.5624 GB, free: 12.33 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.3357, allocations: 199.4 kB / 0.5626 GB, free: 12.13 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.3359, allocations: 111.7 kB / 0.5627 GB, free: 12.02 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.3359, allocations: 12 kB / 0.5627 GB, free: 12.01 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.3379, allocations: 1.317 MB / 0.564 GB, free: 10.69 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.338, allocations: 83.77 kB / 0.5641 GB, free: 10.61 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 8.975e-05/0.3381, allocations: 83.88 kB / 0.5642 GB, free: 10.53 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.3394, allocations: 1.064 MB / 0.5652 GB, free: 9.461 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3394, allocations: 0 / 0.5652 GB, free: 9.461 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3394, allocations: 4 kB / 0.5652 GB, free: 9.457 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.3394, allocations: 3.984 kB / 0.5652 GB, free: 9.453 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007008/0.3401, allocations: 489.8 kB / 0.5657 GB, free: 8.949 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3401, allocations: 8.031 kB / 0.5657 GB, free: 8.941 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.3402, allocations: 54.73 kB / 0.5657 GB, free: 8.879 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007735/0.341, allocations: 212.6 kB / 0.5659 GB, free: 8.672 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.3412, allocations: 185.5 kB / 0.5661 GB, free: 8.465 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3412, allocations: 12.94 kB / 0.5661 GB, free: 8.453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.3413, allocations: 27.89 kB / 0.5662 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.3417, allocations: 0.5658 MB / 0.5667 GB, free: 7.801 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3417, allocations: 0 / 0.5667 GB, free: 7.801 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.3418, allocations: 11.94 kB / 0.5667 GB, free: 7.789 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.3418, allocations: 4 kB / 0.5667 GB, free: 7.785 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.3422, allocations: 406.3 kB / 0.5671 GB, free: 7.391 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.001418/0.3436, allocations: 0.7487 MB / 0.5679 GB, free: 6.598 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.3438, allocations: 205.1 kB / 0.568 GB, free: 6.379 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.344, allocations: 126.4 kB / 0.5682 GB, free: 6.25 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/0.3447, allocations: 314.2 kB / 0.5685 GB, free: 5.945 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3447, allocations: 42.56 kB / 0.5685 GB, free: 5.895 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.3447, allocations: 0 / 0.5685 GB, free: 5.895 MB / 474.7 MB Notification: Performance of matching and sorting (n=29): time 0.000691/0.3454, allocations: 370.7 kB / 0.5689 GB, free: 5.535 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3454, allocations: 81.11 kB / 0.5689 GB, free: 5.438 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.3455, allocations: 117 kB / 0.569 GB, free: 5.316 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3455, allocations: 29.7 kB / 0.5691 GB, free: 5.281 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/0.3456, allocations: 116.5 kB / 0.5692 GB, free: 5.164 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.845e-05/0.3456, allocations: 115.1 kB / 0.5693 GB, free: 5.051 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.3457, allocations: 64.36 kB / 0.5694 GB, free: 4.984 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.3458, allocations: 322.8 kB / 0.5697 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.3459, allocations: 96.61 kB / 0.5698 GB, free: 4.566 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.346, allocations: 191.4 kB / 0.5699 GB, free: 4.344 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.3463, allocations: 297.5 kB / 0.5702 GB, free: 4.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3463, allocations: 0 / 0.5702 GB, free: 4.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003565/0.3467, allocations: 346.2 kB / 0.5706 GB, free: 3.676 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3467, allocations: 4.312 kB / 0.5706 GB, free: 3.672 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3467, allocations: 8 kB / 0.5706 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3467, allocations: 4 kB / 0.5706 GB, free: 3.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3469, allocations: 79.78 kB / 0.5706 GB, free: 3.582 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3469, allocations: 7.984 kB / 0.5707 GB, free: 3.574 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.347, allocations: 27.2 kB / 0.5707 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.347, allocations: 12 kB / 0.5707 GB, free: 3.539 MB / 474.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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.352e-05/0.3471, allocations: 141.8 kB / 0.5708 GB, free: 3.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.3472, allocations: 19.84 kB / 0.5708 GB, free: 3.371 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003933/0.3476, allocations: 320.5 kB / 0.5712 GB, free: 3.059 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3476, allocations: 4 kB / 0.5712 GB, free: 3.055 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3476, allocations: 0 / 0.5712 GB, free: 3.055 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3476, allocations: 4 kB / 0.5712 GB, free: 3.051 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.3479, allocations: 282.4 kB / 0.5714 GB, free: 2.734 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3479, allocations: 0 / 0.5714 GB, free: 2.734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.3481, allocations: 59.84 kB / 0.5715 GB, free: 2.676 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3481, allocations: 4 kB / 0.5715 GB, free: 2.672 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.3481, allocations: 8 kB / 0.5715 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.227e-06/0.3481, allocations: 3.984 kB / 0.5715 GB, free: 2.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3481, allocations: 0 / 0.5715 GB, free: 2.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004659/0.3486, allocations: 0.5126 MB / 0.572 GB, free: 2.141 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/0.3486, allocations: 19.81 kB / 0.572 GB, free: 2.121 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3486, allocations: 12.06 kB / 0.572 GB, free: 2.109 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.3488, allocations: 11.98 kB / 0.572 GB, free: 2.098 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.3488, allocations: 15.97 kB / 0.5721 GB, free: 2.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3488, allocations: 19.98 kB / 0.5721 GB, free: 2.062 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.381e-05/0.3488, allocations: 92.05 kB / 0.5722 GB, free: 1.973 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3488, allocations: 0 / 0.5722 GB, free: 1.973 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004646/0.3493, allocations: 231.4 kB / 0.5724 GB, free: 1.746 MB / 474.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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.001208/0.3505, allocations: 1.395 MB / 0.5737 GB, free: 332 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.3508, allocations: 243.5 kB / 0.574 GB, free: 92 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3508, allocations: 4 kB / 0.574 GB, free: 88 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.351, allocations: 131.7 kB / 0.5741 GB, free: 15.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.3514, allocations: 84.89 kB / 0.5742 GB, free: 15.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.3536, allocations: 2.532 MB / 0.5767 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.3537, allocations: 119.9 kB / 0.5768 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.3539, allocations: 70.03 kB / 0.5768 GB, free: 13.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.354, allocations: 64.47 kB / 0.5769 GB, free: 12.95 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.354, allocations: 0 / 0.5769 GB, free: 12.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.024/0.378, allocations: 11.63 MB / 0.5883 GB, free: 1.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/7.229, allocations: 3.859 kB / 0.5883 GB, free: 1.516 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.314043297432363]