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.001136/0.001136, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.001174/0.001174, allocations: 198 kB / 18.07 MB, free: 5.41 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.248/1.248, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001046/0.001046, allocations: 43.92 kB / 280.1 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07939/0.08045, allocations: 46.63 MB / 326.7 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.2645/0.345, allocations: 148.3 MB / 475 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.3462, allocations: 1.007 MB / 476 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.3463, allocations: 8 kB / 476.1 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.3466, allocations: 30.45 kB / 476.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.3471, allocations: 207.9 kB / 476.3 MB, free: 2.016 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.3473, allocations: 99.73 kB / 476.4 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.3476, allocations: 203.3 kB / 476.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.3476, allocations: 7.984 kB / 476.6 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.3479, allocations: 89.59 kB / 476.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.732e-05/0.348, allocations: 55.77 kB / 476.7 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.348, allocations: 4 kB / 476.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.3484, allocations: 267.6 kB / 477 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.3485, allocations: 19.92 kB / 477 MB, free: 1.285 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.3486, allocations: 43.8 kB / 477.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.349, allocations: 287.3 kB / 477.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.349, allocations: 0 / 477.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.349, allocations: 0 / 477.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.349, allocations: 0 / 477.3 MB, free: 0.9609 MB / 366.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.0004632/0.3495, allocations: 408.1 kB / 477.7 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3495, allocations: 12.03 kB / 477.7 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.3496, allocations: 42.73 kB / 477.8 MB, free: 464 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.3515, allocations: 184.6 kB / 478 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3517, allocations: 205.1 kB / 478.2 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.3517, allocations: 13.44 kB / 478.2 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.3517, allocations: 12 kB / 478.2 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/0.3522, allocations: 231.9 kB / 478.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3523, allocations: 0 / 478.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.3523, allocations: 4 kB / 478.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3523, allocations: 4 kB / 478.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.3527, allocations: 167.8 kB / 478.6 MB, free: 15.6 MB / 382.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.0009452/0.3537, allocations: 0.5802 MB / 479.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.354, allocations: 142.5 kB / 479.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.3542, allocations: 68.83 kB / 479.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.3542, allocations: 7.984 kB / 479.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.3542, allocations: 34.56 kB / 479.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.3542, allocations: 4 kB / 479.4 MB, free: 14.69 MB / 382.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.004918/0.3592, allocations: 1.306 MB / 480.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3592, allocations: 51.41 kB / 480.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.3593, allocations: 113.8 kB / 480.9 MB, free: 13.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3593, allocations: 29.7 kB / 480.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.3594, allocations: 91.95 kB / 481 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.3594, allocations: 71.03 kB / 481.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.634e-05/0.3595, allocations: 57.59 kB / 481.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3596, allocations: 314.8 kB / 481.4 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.3598, allocations: 79.95 kB / 481.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.36, allocations: 95.39 kB / 481.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3603, allocations: 183.3 kB / 481.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3603, allocations: 4.75 kB / 481.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004661/0.3608, allocations: 262.2 kB / 482.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3608, allocations: 4 kB / 482.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3608, allocations: 3.984 kB / 482.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.361, allocations: 48.83 kB / 482.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.3613, allocations: 55.89 kB / 482.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003663/0.3616, allocations: 0.5681 MB / 482.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.3618, allocations: 13.48 kB / 482.7 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.3619, allocations: 24 kB / 482.8 MB, free: 11.14 MB / 382.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.0001009/0.362, allocations: 122 kB / 482.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.362, allocations: 12 kB / 482.9 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007849/0.3628, allocations: 355.7 kB / 483.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3629, allocations: 7.938 kB / 483.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3629, allocations: 0 / 483.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3629, allocations: 0 / 483.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009/0.3638, allocations: 0.6237 MB / 483.9 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.3638, allocations: 4 kB / 483.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.3641, allocations: 63.89 kB / 483.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.343e-05/0.3642, allocations: 16.84 kB / 484 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.3642, allocations: 15.98 kB / 484 MB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007892/0.365, allocations: 1.268 MB / 485.2 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3651, allocations: 7.969 kB / 485.3 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.3657, allocations: 430.8 kB / 485.7 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.899e-05/0.3657, allocations: 89.03 kB / 485.8 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.3658, allocations: 11.94 kB / 485.8 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.366, allocations: 7.938 kB / 485.8 MB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3661, allocations: 28.03 kB / 485.8 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.3661, allocations: 27.98 kB / 485.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.3661, allocations: 95.22 kB / 485.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3662, allocations: 0 / 485.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.3665, allocations: 83.98 kB / 486 MB, free: 7.633 MB / 382.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.001087/0.3676, allocations: 1.012 MB / 487 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.3681, allocations: 192.9 kB / 487.2 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3681, allocations: 4 kB / 487.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.3684, allocations: 226.7 kB / 487.4 MB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.3688, allocations: 43.89 kB / 487.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.3712, allocations: 2.099 MB / 489.6 MB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3715, allocations: 0.7126 MB / 490.3 MB, free: 3.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004072/0.3719, allocations: 78.03 kB / 490.4 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.3721, allocations: 67.39 kB / 490.4 MB, free: 3.02 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3721, allocations: 8 kB / 490.4 MB, free: 3.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.424/1.796, allocations: 6.994 MB / 497.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/1.797, allocations: 224.5 kB / 497.7 MB, free: 11.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.839/3.635, allocations: 3.938 kB / 497.7 MB, free: 11.72 MB / 398.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","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches