Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001815/0.001815, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001979/0.001979, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 230.4 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2289/0.2289, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 75.88 kB / 0.491 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1462, allocations: 66.05 MB / 0.5555 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4852/0.6313, allocations: 152.7 MB / 0.7046 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.6329, allocations: 1.052 MB / 0.7056 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.633, allocations: 4 kB / 0.7056 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.6333, allocations: 31.83 kB / 0.7057 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007504/0.634, allocations: 274.5 kB / 0.7059 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.6344, allocations: 113.9 kB / 0.706 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.6347, allocations: 183.2 kB / 0.7062 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.6347, allocations: 7.938 kB / 0.7062 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.635, allocations: 99.62 kB / 0.7063 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.6351, allocations: 59.73 kB / 0.7064 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.6351, allocations: 4 kB / 0.7064 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.6356, allocations: 275.7 kB / 0.7066 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.6357, allocations: 19.92 kB / 0.7066 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.6358, allocations: 43.86 kB / 0.7067 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.6362, allocations: 286.7 kB / 0.707 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6362, allocations: 0 / 0.707 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6362, allocations: 0 / 0.707 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.6362, allocations: 0 / 0.707 GB, free: 5.945 MB / 0.5137 GB 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.0005952/0.6368, allocations: 418.9 kB / 0.7074 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.6369, allocations: 12.03 kB / 0.7074 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.6369, allocations: 38.75 kB / 0.7074 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.6392, allocations: 195.2 kB / 0.7076 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.6395, allocations: 211.9 kB / 0.7078 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.6396, allocations: 4 kB / 0.7078 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.6396, allocations: 8 kB / 0.7078 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.6401, allocations: 226.8 kB / 0.708 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.6402, allocations: 7.875 kB / 0.708 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.6402, allocations: 11.98 kB / 0.708 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.6402, allocations: 3.984 kB / 0.708 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004766/0.6407, allocations: 167.8 kB / 0.7082 GB, free: 4.566 MB / 0.5137 GB 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.001133/0.6418, allocations: 0.5771 MB / 0.7088 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.6422, allocations: 134.5 kB / 0.7089 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.6424, allocations: 68.83 kB / 0.709 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.6424, allocations: 4.25 kB / 0.709 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.6424, allocations: 34.56 kB / 0.709 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.6424, allocations: 0 / 0.709 GB, free: 3.676 MB / 0.5137 GB 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.005642/0.648, allocations: 1.3 MB / 0.7103 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.6481, allocations: 59.06 kB / 0.7103 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.968e-05/0.6482, allocations: 113.8 kB / 0.7104 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.6482, allocations: 29.7 kB / 0.7105 GB, free: 2.062 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.6483, allocations: 95.98 kB / 0.7106 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.6484, allocations: 71.42 kB / 0.7106 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.6485, allocations: 57.64 kB / 0.7107 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6486, allocations: 314.8 kB / 0.711 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.6488, allocations: 75.95 kB / 0.711 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.649, allocations: 107.2 kB / 0.7112 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.6493, allocations: 182.7 kB / 0.7113 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6493, allocations: 4 kB / 0.7113 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005453/0.6499, allocations: 267.1 kB / 0.7116 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6499, allocations: 4 kB / 0.7116 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.6499, allocations: 0 / 0.7116 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.6501, allocations: 48.83 kB / 0.7116 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.6505, allocations: 51.91 kB / 0.7117 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004605/0.6509, allocations: 0.572 MB / 0.7122 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.6511, allocations: 0 / 0.7122 GB, free: 164 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.6511, allocations: 35.92 kB / 0.7123 GB, free: 128 kB / 0.5137 GB 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.0001477/0.6513, allocations: 121.9 kB / 0.7124 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.6513, allocations: 13.7 kB / 0.7124 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/0.6521, allocations: 347.4 kB / 0.7127 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6521, allocations: 5.562 kB / 0.7127 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.6521, allocations: 4 kB / 0.7127 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6521, allocations: 0 / 0.7127 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.6532, allocations: 0.6291 MB / 0.7134 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.6532, allocations: 0 / 0.7134 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.6536, allocations: 63.89 kB / 0.7134 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-05/0.6537, allocations: 20.84 kB / 0.7134 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.6537, allocations: 12 kB / 0.7135 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.6548, allocations: 1.371 MB / 0.7148 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6548, allocations: 0 / 0.7148 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007345/0.6556, allocations: 442.8 kB / 0.7152 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.6556, allocations: 85.06 kB / 0.7153 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.6557, allocations: 4 kB / 0.7153 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.6559, allocations: 12.06 kB / 0.7153 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.6559, allocations: 19.97 kB / 0.7153 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/0.656, allocations: 31.98 kB / 0.7154 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.774e-05/0.6561, allocations: 91.25 kB / 0.7154 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6561, allocations: 7.938 kB / 0.7155 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000426/0.6565, allocations: 75.88 kB / 0.7155 GB, free: 12.53 MB / 0.5294 GB 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.001349/0.6578, allocations: 1.013 MB / 0.7165 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005295/0.6584, allocations: 190.6 kB / 0.7167 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6584, allocations: 0 / 0.7167 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.6587, allocations: 226.7 kB / 0.7169 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.6592, allocations: 44.78 kB / 0.717 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.662, allocations: 2.084 MB / 0.719 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.6624, allocations: 0.7007 MB / 0.7197 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002865/0.6627, allocations: 73.38 kB / 0.7197 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.6629, allocations: 71.41 kB / 0.7198 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.6629, allocations: 4 kB / 0.7198 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.6988, allocations: 7.347 MB / 0.727 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.6, allocations: 17.75 kB / 0.727 GB, free: 0.6562 MB / 0.5294 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.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 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.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: 15.811428445042111]