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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08156, allocations: 46.61 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3282/0.4098, allocations: 150.6 MB / 0.5129 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.4112, allocations: 0.9638 MB / 0.5139 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.4113, allocations: 0 / 0.5139 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.4116, allocations: 35.75 kB / 0.5139 GB, free: 7.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006305/0.4123, allocations: 238.7 kB / 0.5141 GB, free: 7.676 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.4126, allocations: 125.2 kB / 0.5143 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.4129, allocations: 171.3 kB / 0.5144 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.4129, allocations: 4 kB / 0.5144 GB, free: 7.383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.4132, allocations: 95.56 kB / 0.5145 GB, free: 7.289 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.59e-05/0.4133, allocations: 47.83 kB / 0.5146 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.4133, allocations: 4 kB / 0.5146 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.4138, allocations: 269.5 kB / 0.5148 GB, free: 6.977 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.4139, allocations: 15.97 kB / 0.5148 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.655e-05/0.4139, allocations: 43.8 kB / 0.5149 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004518/0.4144, allocations: 289.7 kB / 0.5152 GB, free: 6.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4144, allocations: 0 / 0.5152 GB, free: 6.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4144, allocations: 3.938 kB / 0.5152 GB, free: 6.637 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.4144, allocations: 0 / 0.5152 GB, free: 6.637 MB / 446.1 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.0005479/0.415, allocations: 407 kB / 0.5155 GB, free: 6.191 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.415, allocations: 12.03 kB / 0.5156 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.4151, allocations: 42.75 kB / 0.5156 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.417, allocations: 188.6 kB / 0.5158 GB, free: 5.945 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.4174, allocations: 204.2 kB / 0.516 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4174, allocations: 11.94 kB / 0.516 GB, free: 5.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.4174, allocations: 11.95 kB / 0.516 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.418, allocations: 224.1 kB / 0.5162 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.418, allocations: 0 / 0.5162 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.418, allocations: 0 / 0.5162 GB, free: 5.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4181, allocations: 4 kB / 0.5162 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.4185, allocations: 171.8 kB / 0.5164 GB, free: 5.277 MB / 446.1 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.001085/0.4196, allocations: 0.5877 MB / 0.5169 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.42, allocations: 142.4 kB / 0.5171 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.4201, allocations: 68.83 kB / 0.5171 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.4202, allocations: 0 / 0.5171 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.4202, allocations: 38.56 kB / 0.5172 GB, free: 4.367 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.4202, allocations: 4 kB / 0.5172 GB, free: 4.363 MB / 446.1 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.005256/0.4255, allocations: 1.301 MB / 0.5185 GB, free: 2.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.4255, allocations: 55.41 kB / 0.5185 GB, free: 2.906 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4256, allocations: 114.9 kB / 0.5186 GB, free: 2.785 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.4257, allocations: 25.7 kB / 0.5186 GB, free: 2.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.33e-05/0.4258, allocations: 99.98 kB / 0.5187 GB, free: 2.652 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.4259, allocations: 67.42 kB / 0.5188 GB, free: 2.586 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.426, allocations: 57.69 kB / 0.5189 GB, free: 2.523 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4261, allocations: 318.8 kB / 0.5192 GB, free: 2.203 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.4263, allocations: 67.97 kB / 0.5192 GB, free: 2.137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.4265, allocations: 111.2 kB / 0.5193 GB, free: 2.016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.4269, allocations: 179.3 kB / 0.5195 GB, free: 1.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4269, allocations: 3.938 kB / 0.5195 GB, free: 1.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005123/0.4274, allocations: 266.2 kB / 0.5198 GB, free: 1.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4274, allocations: 4 kB / 0.5198 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4274, allocations: 0 / 0.5198 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.4277, allocations: 48.83 kB / 0.5198 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.428, allocations: 59.89 kB / 0.5199 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000483/0.4285, allocations: 0.5641 MB / 0.5204 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.4287, allocations: 12.02 kB / 0.5204 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.4287, allocations: 20 kB / 0.5205 GB, free: 0.8203 MB / 446.1 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.0001388/0.4289, allocations: 121.8 kB / 0.5206 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.4289, allocations: 15.94 kB / 0.5206 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007732/0.4297, allocations: 350.7 kB / 0.5209 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.4297, allocations: 7.938 kB / 0.5209 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.4297, allocations: 0 / 0.5209 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.4297, allocations: 0 / 0.5209 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.4308, allocations: 0.6276 MB / 0.5215 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4309, allocations: 4 kB / 0.5215 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.4312, allocations: 55.95 kB / 0.5216 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-05/0.4313, allocations: 20.84 kB / 0.5216 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.4313, allocations: 21.05 kB / 0.5216 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.4324, allocations: 1.372 MB / 0.523 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4325, allocations: 7.969 kB / 0.523 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.4332, allocations: 430.8 kB / 0.5234 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.24e-05/0.4333, allocations: 92.98 kB / 0.5235 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.4333, allocations: 8 kB / 0.5235 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.4335, allocations: 8 kB / 0.5235 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.4336, allocations: 27.97 kB / 0.5235 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.4337, allocations: 27.98 kB / 0.5236 GB, free: 13.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.279e-05/0.4337, allocations: 91.27 kB / 0.5236 GB, free: 13.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4337, allocations: 0 / 0.5236 GB, free: 13.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.4342, allocations: 75.94 kB / 0.5237 GB, free: 13.21 MB / 462.1 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.001327/0.4355, allocations: 1.01 MB / 0.5247 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.436, allocations: 211.8 kB / 0.5249 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.436, allocations: 0 / 0.5249 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003574/0.4364, allocations: 218.8 kB / 0.5251 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.4369, allocations: 43.95 kB / 0.5252 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.4398, allocations: 2.075 MB / 0.5272 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.4402, allocations: 0.7046 MB / 0.5279 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003036/0.4405, allocations: 77.77 kB / 0.5279 GB, free: 8.688 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.4407, allocations: 75.34 kB / 0.528 GB, free: 8.613 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4407, allocations: 0 / 0.528 GB, free: 8.613 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.4763, allocations: 7.319 MB / 0.5352 GB, free: 1.242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12, allocations: 7.922 kB / 0.5352 GB, free: 1.234 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches