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.0012/0.0012, 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.00444/0.00444, allocations: 162.3 kB / 24.69 MB, free: 8.891 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.9212/0.9212, allocations: 158.6 MB / 186.5 MB, free: 3.027 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 6.161e-06/6.161e-06, allocations: 7.938 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/3.335e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2482/0.2482, allocations: 130 MB / 428.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.2506, allocations: 2.741 MB / 431.2 MB, free: 9.621 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.2507, allocations: 4 kB / 431.2 MB, free: 9.617 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.251, allocations: 51.66 kB / 431.3 MB, free: 9.566 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.2529, allocations: 1.061 MB / 432.3 MB, free: 8.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.2532, allocations: 206.2 kB / 432.5 MB, free: 8.301 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.2535, allocations: 362.5 kB / 432.9 MB, free: 7.945 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.655e-05/0.2536, allocations: 13.8 kB / 432.9 MB, free: 7.934 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.2538, allocations: 199.4 kB / 433.1 MB, free: 7.738 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.254, allocations: 99.73 kB / 433.2 MB, free: 7.641 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.254, allocations: 12 kB / 433.2 MB, free: 7.629 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.2558, allocations: 1.293 MB / 434.5 MB, free: 6.332 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-05/0.2559, allocations: 75.78 kB / 434.6 MB, free: 6.258 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.256, allocations: 87.81 kB / 434.7 MB, free: 6.172 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.2571, allocations: 1.057 MB / 435.7 MB, free: 5.113 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2572, allocations: 4 kB / 435.7 MB, free: 5.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2572, allocations: 3.938 kB / 435.7 MB, free: 5.105 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.2572, allocations: 0 / 435.7 MB, free: 5.105 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.000839/0.258, allocations: 477.2 kB / 436.2 MB, free: 4.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.258, allocations: 11.98 kB / 436.2 MB, free: 4.598 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.2581, allocations: 58.67 kB / 436.3 MB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007697/0.2589, allocations: 208.6 kB / 436.5 MB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.2591, allocations: 181.6 kB / 436.6 MB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2591, allocations: 12.75 kB / 436.7 MB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.2592, allocations: 24.33 kB / 436.7 MB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004588/0.2596, allocations: 0.57 MB / 437.2 MB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2597, allocations: 0 / 437.2 MB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.2597, allocations: 18 kB / 437.3 MB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2597, allocations: 8 kB / 437.3 MB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.2601, allocations: 411.7 kB / 437.7 MB, free: 3.035 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.001025/0.2611, allocations: 0.7572 MB / 438.4 MB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.2613, allocations: 213.1 kB / 438.6 MB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.2615, allocations: 114.3 kB / 438.8 MB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007324/0.2622, allocations: 297.7 kB / 439 MB, free: 1.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.2622, allocations: 46.48 kB / 439.1 MB, free: 1.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 1.443e-06/0.2622, allocations: 0 / 439.1 MB, free: 1.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007474/0.263, allocations: 369.8 kB / 439.4 MB, free: 1.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.263, allocations: 81.11 kB / 439.5 MB, free: 1.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.2631, allocations: 115.7 kB / 439.6 MB, free: 0.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.2631, allocations: 29.7 kB / 439.7 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.2632, allocations: 124.5 kB / 439.8 MB, free: 0.793 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.2633, allocations: 103.1 kB / 439.9 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.2633, allocations: 69.98 kB / 440 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.2634, allocations: 326.8 kB / 440.3 MB, free: 296 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.2635, allocations: 92.61 kB / 440.4 MB, free: 204 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2637, allocations: 187.5 kB / 440.6 MB, free: 15.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.264, allocations: 299.5 kB / 440.8 MB, free: 15.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.264, allocations: 7.938 kB / 440.9 MB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004467/0.2645, allocations: 342 kB / 441.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2645, allocations: 11.94 kB / 441.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2645, allocations: 4.609 kB / 441.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2645, allocations: 4 kB / 441.2 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.2647, allocations: 75.84 kB / 441.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2647, allocations: 4 kB / 441.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2648, allocations: 27.81 kB / 441.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.2649, allocations: 23.69 kB / 441.3 MB, free: 15.16 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 0.0001018/0.265, allocations: 133.8 kB / 441.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.265, allocations: 27.92 kB / 441.5 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004104/0.2654, allocations: 314.1 kB / 441.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.2654, allocations: 8 kB / 441.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2655, allocations: 0 / 441.8 MB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2655, allocations: 4 kB / 441.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.2658, allocations: 278.4 kB / 442.1 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2658, allocations: 0 / 442.1 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.266, allocations: 59.89 kB / 442.1 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.266, allocations: 3.938 kB / 442.1 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.266, allocations: 8 kB / 442.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.266, allocations: 4 kB / 442.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.266, allocations: 0 / 442.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.2665, allocations: 0.5032 MB / 442.7 MB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2e-05/0.2665, allocations: 23.89 kB / 442.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.2665, allocations: 8 kB / 442.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2667, allocations: 11.98 kB / 442.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.2667, allocations: 19.95 kB / 442.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.2667, allocations: 19.98 kB / 442.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.945e-05/0.2668, allocations: 87.27 kB / 442.8 MB, free: 13.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2668, allocations: 0 / 442.8 MB, free: 13.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006767/0.2674, allocations: 235.4 kB / 443.1 MB, free: 13.37 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.00131/0.2688, allocations: 1.391 MB / 444.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003463/0.2691, allocations: 249.4 kB / 444.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2691, allocations: 0 / 444.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.2692, allocations: 131.8 kB / 444.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.2696, allocations: 76.66 kB / 444.9 MB, free: 11.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.2717, allocations: 2.539 MB / 447.4 MB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.233e-05/0.2718, allocations: 124.1 kB / 447.6 MB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002026/0.272, allocations: 77.77 kB / 447.6 MB, free: 8.609 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.2721, allocations: 60.47 kB / 447.7 MB, free: 8.551 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2721, allocations: 0 / 447.7 MB, free: 8.551 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.2958, allocations: 11.66 MB / 459.4 MB, free: 12.83 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.392, allocations: 7.938 kB / 459.4 MB, free: 12.82 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable medium2.p in file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv. Warning: Get data of variable medium2.p from file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.322037885896862]