Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.0008938/0.0008938, 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.00468/0.00468, 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.7944/0.7944, 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.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 3.938 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.534e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2116/0.2116, allocations: 129.5 MB / 428 MB, free: 12.92 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.2124, allocations: 0.8915 MB / 428.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.2124, allocations: 0 / 428.8 MB, free: 12.03 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.2127, allocations: 19.84 kB / 428.9 MB, free: 12.01 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007244/0.2134, allocations: 262.3 kB / 429.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.2137, allocations: 119.6 kB / 429.2 MB, free: 11.63 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.2139, allocations: 168 kB / 429.4 MB, free: 11.47 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.2139, allocations: 11.92 kB / 429.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.2141, allocations: 115.6 kB / 429.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.2141, allocations: 39.89 kB / 429.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.2142, allocations: 8 kB / 429.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.2145, allocations: 255.6 kB / 429.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.634e-05/0.2145, allocations: 23.91 kB / 429.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.2146, allocations: 35.91 kB / 429.9 MB, free: 10.99 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.2149, allocations: 323.2 kB / 430.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2149, allocations: 0 / 430.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2149, allocations: 0 / 430.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.2149, allocations: 1.219 kB / 430.2 MB, free: 10.67 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004352/0.2153, allocations: 329.8 kB / 430.5 MB, free: 10.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2154, allocations: 19.97 kB / 430.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.2154, allocations: 34.75 kB / 430.6 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.2164, allocations: 208.6 kB / 430.8 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.2167, allocations: 146.4 kB / 430.9 MB, free: 9.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2167, allocations: 4.375 kB / 430.9 MB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.2167, allocations: 16.27 kB / 430.9 MB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.2171, allocations: 301 kB / 431.2 MB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2171, allocations: 4 kB / 431.2 MB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.2171, allocations: 10 kB / 431.3 MB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2171, allocations: 4 kB / 431.3 MB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.2174, allocations: 167.8 kB / 431.4 MB, free: 9.359 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.0006475/0.218, allocations: 0.5269 MB / 431.9 MB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2182, allocations: 134.5 kB / 432.1 MB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.2183, allocations: 68.77 kB / 432.1 MB, free: 8.574 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.2183, allocations: 11.98 kB / 432.2 MB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.2184, allocations: 34.56 kB / 432.2 MB, free: 8.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.573e-06/0.2184, allocations: 0 / 432.2 MB, free: 8.52 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.002712/0.2211, allocations: 1.141 MB / 433.3 MB, free: 7.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.2211, allocations: 55.41 kB / 433.4 MB, free: 7.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.491e-05/0.2211, allocations: 110.2 kB / 433.5 MB, free: 7.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.2212, allocations: 33.7 kB / 433.5 MB, free: 7.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.2212, allocations: 99.97 kB / 433.6 MB, free: 7.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.2213, allocations: 67.42 kB / 433.7 MB, free: 6.938 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.2213, allocations: 53.69 kB / 433.7 MB, free: 6.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.819e-05/0.2214, allocations: 322.8 kB / 434.1 MB, free: 6.555 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.2215, allocations: 67.97 kB / 434.1 MB, free: 6.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2216, allocations: 104.2 kB / 434.2 MB, free: 6.375 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.2218, allocations: 203.1 kB / 434.4 MB, free: 6.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2218, allocations: 0 / 434.4 MB, free: 6.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002871/0.2221, allocations: 258.2 kB / 434.7 MB, free: 5.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2221, allocations: 4 kB / 434.7 MB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2221, allocations: 4 kB / 434.7 MB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.2222, allocations: 48.83 kB / 434.7 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.2224, allocations: 56.05 kB / 434.8 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002567/0.2226, allocations: 0.5742 MB / 435.4 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.655e-05/0.2227, allocations: 11.97 kB / 435.4 MB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.2227, allocations: 20 kB / 435.4 MB, free: 5.16 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 8.215e-05/0.2228, allocations: 129.8 kB / 435.5 MB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.2228, allocations: 7.953 kB / 435.5 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.2233, allocations: 335 kB / 435.9 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2233, allocations: 8 kB / 435.9 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2233, allocations: 3.984 kB / 435.9 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.2233, allocations: 11.55 kB / 435.9 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008068/0.2241, allocations: 0.58 MB / 436.5 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2241, allocations: 0 / 436.5 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.2243, allocations: 63.89 kB / 436.5 MB, free: 3.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.49e-05/0.2243, allocations: 20.94 kB / 436.5 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.2243, allocations: 19.98 kB / 436.6 MB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005313/0.2249, allocations: 1.248 MB / 437.8 MB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2249, allocations: 3.938 kB / 437.8 MB, free: 2.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.2253, allocations: 431 kB / 438.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.2253, allocations: 16.19 kB / 438.2 MB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2253, allocations: 11.94 kB / 438.3 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2254, allocations: 8 kB / 438.3 MB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.2254, allocations: 23.97 kB / 438.3 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.2255, allocations: 23.98 kB / 438.3 MB, free: 2.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.928e-05/0.2255, allocations: 91.27 kB / 438.4 MB, free: 1.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2255, allocations: 0 / 438.4 MB, free: 1.926 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.2257, allocations: 79.94 kB / 438.5 MB, free: 1.848 MB / 394.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 (21): * Single equations (assignments): 20 * 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.0007228/0.2265, allocations: 1.009 MB / 439.5 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000282/0.2267, allocations: 199.9 kB / 439.7 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2268, allocations: 0 / 439.7 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.2269, allocations: 230.7 kB / 439.9 MB, free: 376 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.2272, allocations: 61.23 kB / 440 MB, free: 316 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.2288, allocations: 1.986 MB / 442 MB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.528e-05/0.2288, allocations: 94.08 kB / 442 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.229, allocations: 77.45 kB / 442.1 MB, free: 14.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.2291, allocations: 72.45 kB / 442.2 MB, free: 13.94 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2291, allocations: 0 / 442.2 MB, free: 13.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.2474, allocations: 7.986 MB / 450.2 MB, free: 5.902 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.697, allocations: 4 kB / 450.2 MB, free: 5.898 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_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_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.298171411268413]