Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.0008998/0.0008998, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004418/0.004418, allocations: 166.2 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8122/0.8122, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/2.015e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2351/0.2351, allocations: 130 MB / 428.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002409/0.2375, allocations: 2.738 MB / 431.2 MB, free: 9.629 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.2376, allocations: 0 / 431.2 MB, free: 9.629 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.2379, allocations: 55.66 kB / 431.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.2393, allocations: 1.053 MB / 432.3 MB, free: 8.516 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.2396, allocations: 202.2 kB / 432.5 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.2398, allocations: 366.5 kB / 432.9 MB, free: 7.961 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.2399, allocations: 9.797 kB / 432.9 MB, free: 7.953 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.2401, allocations: 199.4 kB / 433.1 MB, free: 7.758 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.2402, allocations: 99.75 kB / 433.2 MB, free: 7.66 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.2402, allocations: 12 kB / 433.2 MB, free: 7.648 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.2415, allocations: 1.297 MB / 434.5 MB, free: 6.348 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.024e-05/0.2416, allocations: 79.78 kB / 434.6 MB, free: 6.27 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.2416, allocations: 87.81 kB / 434.7 MB, free: 6.184 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008305/0.2425, allocations: 1.052 MB / 435.7 MB, free: 5.129 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2425, allocations: 1.312 kB / 435.7 MB, free: 5.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2425, allocations: 3.938 kB / 435.7 MB, free: 5.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2425, allocations: 3.938 kB / 435.7 MB, free: 5.121 MB / 394.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.0006068/0.2431, allocations: 489.2 kB / 436.2 MB, free: 4.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2431, allocations: 11.98 kB / 436.2 MB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/0.2432, allocations: 54.73 kB / 436.3 MB, free: 4.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007236/0.2439, allocations: 201.2 kB / 436.5 MB, free: 4.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.2443, allocations: 185.6 kB / 436.6 MB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2444, allocations: 12.75 kB / 436.7 MB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.871e-05/0.2444, allocations: 24.33 kB / 436.7 MB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.2448, allocations: 0.5778 MB / 437.3 MB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2448, allocations: 0 / 437.3 MB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.2449, allocations: 8 kB / 437.3 MB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2449, allocations: 9.938 kB / 437.3 MB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003493/0.2452, allocations: 413.7 kB / 437.7 MB, free: 3.047 MB / 394.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.0009662/0.2462, allocations: 0.7533 MB / 438.4 MB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.2464, allocations: 217.1 kB / 438.6 MB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2465, allocations: 114.3 kB / 438.8 MB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/0.2472, allocations: 293.7 kB / 439 MB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.2473, allocations: 42.5 kB / 439.1 MB, free: 1.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.323e-06/0.2473, allocations: 0 / 439.1 MB, free: 1.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006635/0.2479, allocations: 381.8 kB / 439.5 MB, free: 1.184 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.248, allocations: 81.11 kB / 439.5 MB, free: 1.086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.235e-05/0.248, allocations: 111.7 kB / 439.6 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.248, allocations: 33.7 kB / 439.7 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.804e-05/0.2481, allocations: 116.5 kB / 439.8 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.2481, allocations: 107.1 kB / 439.9 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.2482, allocations: 65.98 kB / 440 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.2483, allocations: 326.8 kB / 440.3 MB, free: 312 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.2484, allocations: 100.5 kB / 440.4 MB, free: 212 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.2486, allocations: 183.6 kB / 440.6 MB, free: 15.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.2488, allocations: 299.5 kB / 440.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2488, allocations: 7.938 kB / 440.9 MB, free: 15.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000351/0.2492, allocations: 333.8 kB / 441.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2492, allocations: 11.94 kB / 441.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2492, allocations: 4 kB / 441.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2492, allocations: 4 kB / 441.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.2494, allocations: 76.2 kB / 441.3 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2494, allocations: 11.94 kB / 441.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.697e-05/0.2495, allocations: 27.78 kB / 441.3 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2495, allocations: 20.73 kB / 441.3 MB, free: 15.17 MB / 410.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 8.869e-05/0.2496, allocations: 137.7 kB / 441.5 MB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.2497, allocations: 19.84 kB / 441.5 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.2501, allocations: 322.2 kB / 441.8 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2501, allocations: 4 kB / 441.8 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2501, allocations: 3.984 kB / 441.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2501, allocations: 0 / 441.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.2504, allocations: 282.4 kB / 442.1 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2504, allocations: 1.688 kB / 442.1 MB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.2505, allocations: 55.97 kB / 442.1 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2505, allocations: 11.92 kB / 442.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.2506, allocations: 8 kB / 442.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2506, allocations: 0 / 442.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2506, allocations: 4 kB / 442.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/0.251, allocations: 0.4993 MB / 442.7 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.251, allocations: 15.83 kB / 442.7 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.251, allocations: 8.062 kB / 442.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.2512, allocations: 11.98 kB / 442.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.2512, allocations: 19.97 kB / 442.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.2512, allocations: 22.42 kB / 442.7 MB, free: 13.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.809e-05/0.2512, allocations: 91.27 kB / 442.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2512, allocations: 0 / 442.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004324/0.2517, allocations: 231.4 kB / 443.1 MB, free: 13.39 MB / 410.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.001364/0.253, allocations: 1.393 MB / 444.4 MB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.2533, allocations: 249 kB / 444.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2533, allocations: 0 / 444.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.2534, allocations: 127.8 kB / 444.8 MB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.2538, allocations: 77.28 kB / 444.9 MB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.2557, allocations: 2.541 MB / 447.4 MB, free: 8.836 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.827e-05/0.2558, allocations: 119.9 kB / 447.6 MB, free: 8.699 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.256, allocations: 81.95 kB / 447.6 MB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.2561, allocations: 64.47 kB / 447.7 MB, free: 8.559 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2561, allocations: 0 / 447.7 MB, free: 8.559 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.277, allocations: 11.66 MB / 459.4 MB, free: 12.83 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/7.117, allocations: 4 kB / 459.4 MB, free: 12.83 MB / 426.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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: 8.785911967977881]