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.001751/0.001751, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 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.002179/0.002179, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 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 1.547/1.547, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.2432/0.2432, allocations: 46.92 MB / 357.8 MB, free: 10.28 MB / 286.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 71.84 kB / 0.4916 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1561, allocations: 65.99 MB / 0.556 GB, free: 5.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.5598/0.7159, allocations: 153.2 MB / 0.7057 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004216/0.7202, allocations: 3.247 MB / 0.7089 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.478e-05/0.7202, allocations: 0 / 0.7089 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004015/0.7207, allocations: 71.64 kB / 0.7089 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002745/0.7234, allocations: 1.062 MB / 0.71 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005985/0.724, allocations: 203.5 kB / 0.7102 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000566/0.7246, allocations: 362.6 kB / 0.7105 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.962e-05/0.7246, allocations: 17.59 kB / 0.7105 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004132/0.725, allocations: 155.3 kB / 0.7107 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.7253, allocations: 131.5 kB / 0.7108 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.263e-05/0.7254, allocations: 12 kB / 0.7108 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003327/0.7287, allocations: 1.593 MB / 0.7124 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.7289, allocations: 87.75 kB / 0.7125 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.7291, allocations: 115.5 kB / 0.7126 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.7313, allocations: 1.013 MB / 0.7136 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.7313, allocations: 0 / 0.7136 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7313, allocations: 4 kB / 0.7136 GB, free: 232 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.7313, allocations: 0 / 0.7136 GB, free: 232 kB / 0.5137 GB 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.001457/0.7328, allocations: 0.5611 MB / 0.7141 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.7328, allocations: 8.031 kB / 0.7141 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.499e-05/0.7329, allocations: 8.562 kB / 0.7141 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.656e-05/0.7329, allocations: 50.73 kB / 0.7142 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.7345, allocations: 208.6 kB / 0.7144 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.7348, allocations: 251.5 kB / 0.7146 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.7349, allocations: 20.38 kB / 0.7146 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.7349, allocations: 16 kB / 0.7146 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.7356, allocations: 392 kB / 0.715 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.7356, allocations: 3.984 kB / 0.715 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.7356, allocations: 12 kB / 0.715 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.7357, allocations: 8 kB / 0.715 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000618/0.7363, allocations: 416.4 kB / 0.7154 GB, free: 14.2 MB / 0.5294 GB 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.001848/0.7381, allocations: 0.8215 MB / 0.7162 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004668/0.7386, allocations: 229.1 kB / 0.7165 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.7388, allocations: 119.2 kB / 0.7166 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001975/0.7408, allocations: 0.9724 MB / 0.7175 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.7408, allocations: 42.5 kB / 0.7176 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.7408, allocations: 4 kB / 0.7176 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001365/0.7422, allocations: 387.9 kB / 0.7179 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.7422, allocations: 77.11 kB / 0.718 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.7424, allocations: 117.8 kB / 0.7181 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.7424, allocations: 33.7 kB / 0.7182 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.7425, allocations: 112.5 kB / 0.7183 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.7426, allocations: 119 kB / 0.7184 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.7427, allocations: 70.02 kB / 0.7184 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7429, allocations: 330.8 kB / 0.7188 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.7431, allocations: 108.1 kB / 0.7189 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.7433, allocations: 186.9 kB / 0.719 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.7439, allocations: 324.2 kB / 0.7193 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7439, allocations: 0 / 0.7193 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006802/0.7446, allocations: 353.3 kB / 0.7197 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7446, allocations: 10.5 kB / 0.7197 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.7446, allocations: 4 kB / 0.7197 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.7446, allocations: 4 kB / 0.7197 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.745, allocations: 71.91 kB / 0.7198 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.745, allocations: 7.938 kB / 0.7198 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.7452, allocations: 31.77 kB / 0.7198 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.7453, allocations: 16 kB / 0.7198 GB, free: 9.32 MB / 0.5294 GB 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.0001747/0.7455, allocations: 148.1 kB / 0.72 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.7456, allocations: 15.91 kB / 0.72 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008031/0.7464, allocations: 337 kB / 0.7203 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.7464, allocations: 4.875 kB / 0.7203 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7464, allocations: 0 / 0.7203 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.7464, allocations: 7.984 kB / 0.7203 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/0.7472, allocations: 339.1 kB / 0.7206 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7472, allocations: 0 / 0.7206 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.7475, allocations: 55.91 kB / 0.7207 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.7475, allocations: 7.875 kB / 0.7207 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.7476, allocations: 12 kB / 0.7207 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.7476, allocations: 3.938 kB / 0.7207 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7476, allocations: 0 / 0.7207 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009052/0.7485, allocations: 0.5375 MB / 0.7212 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.7486, allocations: 92.95 kB / 0.7213 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.7486, allocations: 8.062 kB / 0.7213 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003342/0.7489, allocations: 15.98 kB / 0.7213 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.749, allocations: 23.91 kB / 0.7214 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.7491, allocations: 19.98 kB / 0.7214 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.744e-05/0.7491, allocations: 83.28 kB / 0.7215 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7491, allocations: 0 / 0.7215 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001213/0.7504, allocations: 243.4 kB / 0.7217 GB, free: 7.297 MB / 0.5294 GB 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.002576/0.7529, allocations: 1.394 MB / 0.7231 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006601/0.7536, allocations: 259.6 kB / 0.7233 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.7536, allocations: 7.938 kB / 0.7233 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.7538, allocations: 129.7 kB / 0.7234 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.7545, allocations: 95.92 kB / 0.7235 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.7584, allocations: 2.725 MB / 0.7262 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.7587, allocations: 0.7324 MB / 0.7269 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003077/0.759, allocations: 79.16 kB / 0.727 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.7592, allocations: 67.36 kB / 0.727 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of SimCode: time 8.62e-07/0.7592, allocations: 4 kB / 0.7271 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.7927, allocations: 10.98 MB / 0.7378 GB, free: 6.785 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/9.498, allocations: 10.39 kB / 0.7378 GB, free: 6.777 MB / 0.545 GB " [Timeout remaining time 650] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/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: 12.958768733020406]