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.0007929/0.0007929, 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.003494/0.003494, allocations: 162 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.8119/0.8119, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.553e-06/1.553e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.591e-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.2212/0.2212, allocations: 129.8 MB / 428.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2224, allocations: 1.343 MB / 429.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.2225, allocations: 0 / 429.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.2228, allocations: 47.67 kB / 429.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008827/0.2237, allocations: 405.7 kB / 430 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.2242, allocations: 175.4 kB / 430.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002101/0.2244, allocations: 187.1 kB / 430.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.2244, allocations: 7.938 kB / 430.4 MB, free: 10.5 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2245, allocations: 103.7 kB / 430.5 MB, free: 10.39 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.2247, allocations: 55.86 kB / 430.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2247, allocations: 4 kB / 430.5 MB, free: 10.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006724/0.2253, allocations: 0.5297 MB / 431 MB, free: 9.805 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.161e-05/0.2254, allocations: 31.89 kB / 431.1 MB, free: 9.773 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.2254, allocations: 40.55 kB / 431.1 MB, free: 9.734 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.226, allocations: 426.9 kB / 431.5 MB, free: 9.316 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.226, allocations: 1.219 kB / 431.5 MB, free: 9.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.226, allocations: 4 kB / 431.5 MB, free: 9.312 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.226, allocations: 0 / 431.5 MB, free: 9.312 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.0004754/0.2264, allocations: 361.8 kB / 431.9 MB, free: 8.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2265, allocations: 11.98 kB / 431.9 MB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.2265, allocations: 42.73 kB / 431.9 MB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.2277, allocations: 200.6 kB / 432.1 MB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007026/0.2284, allocations: 153.7 kB / 432.3 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2284, allocations: 8.562 kB / 432.3 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.2284, allocations: 16.27 kB / 432.3 MB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.2288, allocations: 282.5 kB / 432.6 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2288, allocations: 0 / 432.6 MB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2288, allocations: 4 kB / 432.6 MB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.2288, allocations: 6.062 kB / 432.6 MB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.2293, allocations: 235.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.001041/0.2303, allocations: 0.5703 MB / 433.4 MB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.2306, allocations: 186.4 kB / 433.6 MB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.2307, allocations: 92.81 kB / 433.7 MB, free: 7.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.2308, allocations: 11.98 kB / 433.7 MB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2308, allocations: 38.56 kB / 433.7 MB, free: 6.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.2308, allocations: 0 / 433.7 MB, free: 6.977 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.003106/0.2339, allocations: 1.395 MB / 435.1 MB, free: 5.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.234, allocations: 55.34 kB / 435.2 MB, free: 5.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.443e-05/0.234, allocations: 117.8 kB / 435.3 MB, free: 5.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.234, allocations: 25.7 kB / 435.3 MB, free: 5.289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.2341, allocations: 104.3 kB / 435.4 MB, free: 5.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.2341, allocations: 63.44 kB / 435.5 MB, free: 5.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/0.2342, allocations: 53.55 kB / 435.5 MB, free: 5.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.2343, allocations: 318.8 kB / 435.8 MB, free: 4.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.2344, allocations: 91.89 kB / 435.9 MB, free: 4.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.2346, allocations: 127.4 kB / 436.1 MB, free: 4.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.2349, allocations: 219.3 kB / 436.3 MB, free: 4.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2349, allocations: 0 / 436.3 MB, free: 4.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003821/0.2353, allocations: 286.3 kB / 436.5 MB, free: 4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2353, allocations: 8 kB / 436.6 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2353, allocations: 3.938 kB / 436.6 MB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.2354, allocations: 24.84 kB / 436.6 MB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.2356, allocations: 55.89 kB / 436.6 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000268/0.2359, allocations: 0.529 MB / 437.2 MB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.236, allocations: 12.89 kB / 437.2 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.236, allocations: 8.125 kB / 437.2 MB, free: 3.332 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 9.869e-05/0.2361, allocations: 133.7 kB / 437.3 MB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.2362, allocations: 11.95 kB / 437.3 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/0.2367, allocations: 318.9 kB / 437.6 MB, free: 2.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2367, allocations: 4 kB / 437.6 MB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2367, allocations: 0 / 437.6 MB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2367, allocations: 0 / 437.6 MB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007623/0.2374, allocations: 0.6296 MB / 438.3 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2374, allocations: 0 / 438.3 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.2377, allocations: 55.98 kB / 438.3 MB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.243e-05/0.2377, allocations: 20.84 kB / 438.3 MB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.2377, allocations: 11.97 kB / 438.4 MB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006289/0.2384, allocations: 1.252 MB / 439.6 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2384, allocations: 4.031 kB / 439.6 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.2389, allocations: 454.7 kB / 440.1 MB, free: 248 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.2389, allocations: 7.984 kB / 440.1 MB, free: 240 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.2389, allocations: 15.92 kB / 440.1 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2391, allocations: 8 kB / 440.1 MB, free: 216 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.2391, allocations: 23.81 kB / 440.1 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.2391, allocations: 11.98 kB / 440.1 MB, free: 180 kB / 394.7 MB Notification: Performance of sorting global known variables: time 3.407e-05/0.2391, allocations: 91.27 kB / 440.2 MB, free: 88 kB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2391, allocations: 0 / 440.2 MB, free: 88 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.2395, 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.001115/0.2406, allocations: 1.129 MB / 441.5 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003804/0.241, allocations: 223.8 kB / 441.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.241, allocations: 0 / 441.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.2413, allocations: 234.7 kB / 441.9 MB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2415, allocations: 40.91 kB / 442 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.2434, allocations: 2.076 MB / 444 MB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.247e-05/0.2435, allocations: 98.03 kB / 444.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.2436, allocations: 53.83 kB / 444.2 MB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.2437, allocations: 44.48 kB / 444.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2437, allocations: 0 / 444.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.265, allocations: 8.865 MB / 453.1 MB, free: 2.953 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.928/8.192, allocations: 3.906 kB / 453.1 MB, free: 2.949 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/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: 9.703905354253948]