Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.0007999/0.0007999, allocations: 87.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.003251/0.003251, allocations: 162.5 kB / 24.69 MB, free: 9.426 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.8223/0.8223, 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.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.324e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2551/0.2551, allocations: 129.8 MB / 428.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.2563, allocations: 1.343 MB / 429.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.2564, allocations: 4 kB / 429.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.2567, allocations: 43.69 kB / 429.6 MB, free: 11.25 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006845/0.2574, allocations: 409.7 kB / 430 MB, free: 10.85 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.2578, allocations: 171.3 kB / 430.2 MB, free: 10.68 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.258, allocations: 195.1 kB / 430.4 MB, free: 10.49 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.258, allocations: 7.938 kB / 430.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.2582, allocations: 99.72 kB / 430.5 MB, free: 10.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2583, allocations: 55.86 kB / 430.5 MB, free: 10.33 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2583, allocations: 4 kB / 430.5 MB, free: 10.33 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005827/0.2589, allocations: 0.5258 MB / 431 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.259, allocations: 35.89 kB / 431.1 MB, free: 9.766 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.259, allocations: 40.67 kB / 431.1 MB, free: 9.727 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.2594, allocations: 426.9 kB / 431.5 MB, free: 9.309 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2594, allocations: 0 / 431.5 MB, free: 9.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2594, allocations: 5.312 kB / 431.5 MB, free: 9.305 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.2594, allocations: 0 / 431.5 MB, free: 9.305 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004564/0.2599, allocations: 357.8 kB / 431.9 MB, free: 8.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.2599, allocations: 15.98 kB / 431.9 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.26, allocations: 38.75 kB / 431.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.2612, allocations: 204.6 kB / 432.1 MB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.2613, allocations: 153.6 kB / 432.3 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2614, allocations: 4.562 kB / 432.3 MB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.2614, allocations: 12.33 kB / 432.3 MB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.2618, allocations: 286.5 kB / 432.6 MB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2618, allocations: 0 / 432.6 MB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.2618, allocations: 4 kB / 432.6 MB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2618, allocations: 4 kB / 432.6 MB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.2622, allocations: 231.8 kB / 432.8 MB, free: 7.934 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.001061/0.2632, allocations: 0.5877 MB / 433.4 MB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.2635, allocations: 182.5 kB / 433.6 MB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.2636, allocations: 88.81 kB / 433.7 MB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.716e-05/0.2637, allocations: 11.98 kB / 433.7 MB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2637, allocations: 42.56 kB / 433.7 MB, free: 6.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2637, allocations: 0 / 433.7 MB, free: 6.965 MB / 394.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.003603/0.2673, allocations: 1.387 MB / 435.1 MB, free: 5.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.2674, allocations: 59.34 kB / 435.2 MB, free: 5.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2675, allocations: 113.8 kB / 435.3 MB, free: 5.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.2675, allocations: 29.7 kB / 435.3 MB, free: 5.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.2676, allocations: 104.3 kB / 435.4 MB, free: 5.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.2676, allocations: 67.38 kB / 435.5 MB, free: 5.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.879e-05/0.2677, allocations: 45.56 kB / 435.5 MB, free: 5.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.2678, allocations: 318.8 kB / 435.8 MB, free: 4.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2679, allocations: 91.95 kB / 435.9 MB, free: 4.648 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2681, allocations: 127.4 kB / 436.1 MB, free: 4.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.2683, allocations: 223.3 kB / 436.3 MB, free: 4.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.2683, allocations: 0 / 436.3 MB, free: 4.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003768/0.2687, allocations: 286.3 kB / 436.5 MB, free: 3.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2687, allocations: 4 kB / 436.6 MB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2687, allocations: 3.938 kB / 436.6 MB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000106/0.2689, allocations: 24.84 kB / 436.6 MB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.2691, allocations: 60.77 kB / 436.6 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003129/0.2695, allocations: 0.5251 MB / 437.2 MB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.2697, allocations: 19.95 kB / 437.2 MB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.2697, allocations: 4.125 kB / 437.2 MB, free: 3.324 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.2698, allocations: 129.8 kB / 437.3 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.2699, allocations: 7.953 kB / 437.3 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004605/0.2703, allocations: 326.8 kB / 437.6 MB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2703, allocations: 0 / 437.6 MB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.2703, allocations: 4 kB / 437.6 MB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2703, allocations: 3.984 kB / 437.6 MB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007248/0.2711, allocations: 0.6212 MB / 438.3 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.2711, allocations: 4 kB / 438.3 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.2713, allocations: 55.98 kB / 438.3 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-05/0.2714, allocations: 24.78 kB / 438.4 MB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.2715, allocations: 7.984 kB / 438.4 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008596/0.2723, allocations: 1.253 MB / 439.6 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2723, allocations: 3.938 kB / 439.6 MB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.2729, allocations: 455.5 kB / 440.1 MB, free: 240 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.273, allocations: 7.953 kB / 440.1 MB, free: 232 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.273, allocations: 7.938 kB / 440.1 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.2732, allocations: 11.98 kB / 440.1 MB, free: 212 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.2732, allocations: 23.81 kB / 440.1 MB, free: 188 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.2732, allocations: 15.98 kB / 440.1 MB, free: 172 kB / 394.7 MB Notification: Performance of sorting global known variables: time 4.202e-05/0.2733, allocations: 87.27 kB / 440.2 MB, free: 84 kB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2733, allocations: 0 / 440.2 MB, free: 84 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004123/0.2737, allocations: 131.8 kB / 440.3 MB, free: 15.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/0.275, allocations: 1.126 MB / 441.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004776/0.2754, allocations: 226.7 kB / 441.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.2754, allocations: 7.938 kB / 441.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.2757, allocations: 226.7 kB / 441.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.276, allocations: 43.89 kB / 442 MB, free: 14.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.2783, allocations: 2.065 MB / 444 MB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.903e-05/0.2783, allocations: 106 kB / 444.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.2786, allocations: 57.83 kB / 444.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.2787, allocations: 40.47 kB / 444.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2787, allocations: 0 / 444.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.3076, allocations: 8.861 MB / 453.1 MB, free: 2.953 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.442, allocations: 7.969 kB / 453.1 MB, free: 2.945 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_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_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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: 10.082579031586647]