Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.708/1.708, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003593, allocations: 8 kB / 233.4 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.09282, allocations: 38.77 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.393, allocations: 428.2 MB / 0.6839 GB, free: 29.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004075/1.393, allocations: 90.81 kB / 0.684 GB, free: 29.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7245/2.118, allocations: 143.5 MB / 0.8242 GB, free: 39.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/2.118, allocations: 0 / 0.8242 GB, free: 39.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/2.118, allocations: 4 kB / 0.8242 GB, free: 39.19 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001234/2.119, allocations: 0.6323 MB / 0.8248 GB, free: 38.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/2.119, allocations: 8.031 kB / 0.8248 GB, free: 38.5 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.575e-05/2.119, allocations: 62.55 kB / 0.8248 GB, free: 38.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/2.12, allocations: 43.61 kB / 0.8249 GB, free: 38.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/2.12, allocations: 286.9 kB / 0.8252 GB, free: 38.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/2.12, allocations: 20.52 kB / 0.8252 GB, free: 38.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/2.12, allocations: 24 kB / 0.8252 GB, free: 38.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006457/2.121, allocations: 311.7 kB / 0.8255 GB, free: 37.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/2.121, allocations: 7.844 kB / 0.8255 GB, free: 37.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.561e-05/2.121, allocations: 12 kB / 0.8255 GB, free: 37.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/2.121, allocations: 8 kB / 0.8255 GB, free: 37.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/2.121, allocations: 201.6 kB / 0.8257 GB, free: 37.46 MB / 362.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.00214/2.124, allocations: 1.578 MB / 0.8273 GB, free: 35.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/2.124, allocations: 161.3 kB / 0.8274 GB, free: 35.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/2.124, allocations: 4.188 kB / 0.8274 GB, free: 35.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/2.124, allocations: 42.75 kB / 0.8275 GB, free: 35.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 2.906e-06/2.124, allocations: 0 / 0.8275 GB, free: 35.51 MB / 362.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.008851/2.133, allocations: 1.614 MB / 0.829 GB, free: 33.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/2.133, allocations: 63.33 kB / 0.8291 GB, free: 33.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/2.133, allocations: 239.9 kB / 0.8293 GB, free: 33.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/2.133, allocations: 33.7 kB / 0.8294 GB, free: 33.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/2.134, allocations: 176.2 kB / 0.8295 GB, free: 33.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/2.134, allocations: 90.66 kB / 0.8296 GB, free: 33.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/2.134, allocations: 4 kB / 0.8296 GB, free: 33.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.784e-05/2.134, allocations: 338.8 kB / 0.8299 GB, free: 32.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/2.134, allocations: 91.73 kB / 0.83 GB, free: 32.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/2.134, allocations: 183.8 kB / 0.8302 GB, free: 32.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/2.135, allocations: 121 kB / 0.8303 GB, free: 32.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/2.135, allocations: 0 / 0.8303 GB, free: 32.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009345/2.136, allocations: 406.6 kB / 0.8307 GB, free: 31.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/2.136, allocations: 8 kB / 0.8307 GB, free: 31.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/2.136, allocations: 0 / 0.8307 GB, free: 31.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/2.136, allocations: 73.67 kB / 0.8308 GB, free: 31.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/2.137, allocations: 84.3 kB / 0.8309 GB, free: 31.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/2.138, allocations: 1.86 MB / 0.8327 GB, free: 29.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/2.138, allocations: 19.94 kB / 0.8327 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/2.139, allocations: 40 kB / 0.8327 GB, free: 29.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002442/2.139, allocations: 149.9 kB / 0.8329 GB, free: 29.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/2.139, allocations: 35.62 kB / 0.8329 GB, free: 29.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/2.14, allocations: 443.9 kB / 0.8333 GB, free: 29.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/2.14, allocations: 7.953 kB / 0.8333 GB, free: 29.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/2.14, allocations: 0 / 0.8333 GB, free: 29.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006335/2.141, allocations: 0.5591 MB / 0.8339 GB, free: 28.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/2.142, allocations: 0.7198 MB / 0.8346 GB, free: 27.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/2.142, allocations: 0 / 0.8346 GB, free: 27.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/2.143, allocations: 71.89 kB / 0.8347 GB, free: 27.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/2.143, allocations: 20.84 kB / 0.8347 GB, free: 27.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/2.143, allocations: 19.92 kB / 0.8347 GB, free: 27.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008407/2.144, allocations: 1.288 MB / 0.836 GB, free: 26.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/2.144, allocations: 4.031 kB / 0.836 GB, free: 26.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/2.145, allocations: 0.4895 MB / 0.8364 GB, free: 25.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/2.145, allocations: 100.9 kB / 0.8365 GB, free: 25.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/2.145, allocations: 11.89 kB / 0.8365 GB, free: 25.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/2.146, allocations: 23.95 kB / 0.8366 GB, free: 25.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/2.146, allocations: 23.97 kB / 0.8366 GB, free: 25.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/2.146, allocations: 31.98 kB / 0.8366 GB, free: 25.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002412/2.146, allocations: 186 kB / 0.8368 GB, free: 25.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/2.146, allocations: 0 / 0.8368 GB, free: 25.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009546/2.147, allocations: 187.9 kB / 0.837 GB, free: 25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002539/2.149, allocations: 1.847 MB / 0.8388 GB, free: 23.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/2.151, allocations: 366.6 kB / 0.8391 GB, free: 22.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/2.151, allocations: 4 kB / 0.8391 GB, free: 22.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/2.151, allocations: 231.4 kB / 0.8394 GB, free: 22.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/2.153, allocations: 148.5 kB / 0.8395 GB, free: 22.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/2.157, allocations: 3.847 MB / 0.8432 GB, free: 18.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/2.157, allocations: 0.7609 MB / 0.844 GB, free: 17.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009449/2.158, allocations: 114.9 kB / 0.8441 GB, free: 17.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004402/2.159, allocations: 127.4 kB / 0.8442 GB, free: 17.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/2.159, allocations: 3.938 kB / 0.8442 GB, free: 17.36 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.317/2.476, allocations: 22.9 MB / 0.8666 GB, free: 77.7 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/2.476, allocations: 236.5 kB / 0.8668 GB, free: 77.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.551/6.027, allocations: 0 / 0.8668 GB, free: 77.46 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat