Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 109.4 kB / 18.36 MB, free: 4.637 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.001562/0.001562, allocations: 192 kB / 19.29 MB, free: 3.715 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.325/1.325, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001178/0.001179, allocations: 51.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.08006, allocations: 46.63 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2988/0.3789, allocations: 144 MB / 472.7 MB, free: 6.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.3811, allocations: 1.725 MB / 474.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.3813, allocations: 4 kB / 474.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.3819, allocations: 182.9 kB / 474.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004963/0.3824, allocations: 326.2 kB / 475 MB, free: 4.281 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.3833, allocations: 421.3 kB / 475.4 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007734/0.3841, allocations: 0.8445 MB / 476.2 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.3843, allocations: 108.6 kB / 476.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005445/0.3849, allocations: 390.7 kB / 476.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.3853, allocations: 334.8 kB / 477 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.769e-05/0.3853, allocations: 32 kB / 477.1 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.3856, allocations: 139.7 kB / 477.2 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3857, allocations: 91.77 kB / 477.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.3859, allocations: 187.2 kB / 477.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005276/0.3865, allocations: 495.8 kB / 478 MB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3865, allocations: 0 / 478 MB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3865, allocations: 0 / 478 MB, free: 1.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3865, allocations: 5.312 kB / 478 MB, free: 1.281 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008044/0.3873, allocations: 0.5855 MB / 478.6 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3873, allocations: 15.89 kB / 478.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.3876, allocations: 44.55 kB / 478.6 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.3881, allocations: 295.7 kB / 478.9 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.3881, allocations: 20.94 kB / 478.9 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.3882, allocations: 24.38 kB / 478.9 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.3887, allocations: 297.7 kB / 479.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3887, allocations: 4 kB / 479.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.3887, allocations: 12.88 kB / 479.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.3887, allocations: 7.938 kB / 479.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.3891, allocations: 206.1 kB / 479.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.3908, allocations: 1.293 MB / 480.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.3912, allocations: 186.6 kB / 480.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.3913, allocations: 92.83 kB / 481 MB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.3915, allocations: 174.2 kB / 481.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.3915, allocations: 38.5 kB / 481.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.3915, allocations: 0 / 481.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002389/0.3939, allocations: 1.034 MB / 482.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.394, allocations: 63.34 kB / 482.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.3942, allocations: 254.6 kB / 482.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.3943, allocations: 29.7 kB / 482.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3944, allocations: 180.2 kB / 482.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/0.3945, allocations: 102.6 kB / 482.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.3946, allocations: 57.7 kB / 482.9 MB, free: 11.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.3947, allocations: 334.8 kB / 483.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3948, allocations: 82.66 kB / 483.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.395, allocations: 183.8 kB / 483.5 MB, free: 11.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/0.3954, allocations: 279.8 kB / 483.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3954, allocations: 0 / 483.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005984/0.396, allocations: 455.8 kB / 484.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.396, allocations: 4 kB / 484.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3961, allocations: 4 kB / 484.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.3962, allocations: 41.7 kB / 484.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.3965, allocations: 84.08 kB / 484.4 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.3984, allocations: 2.762 MB / 487.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.3986, allocations: 8 kB / 487.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.3987, allocations: 16 kB / 487.2 MB, free: 7.258 MB / 382.1 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 (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.3988, allocations: 153.7 kB / 487.3 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.3989, allocations: 31.62 kB / 487.3 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/0.3994, allocations: 364.3 kB / 487.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3994, allocations: 4 kB / 487.7 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3995, allocations: 3.984 kB / 487.7 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005266/0.4, allocations: 0.6148 MB / 488.3 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/0.401, allocations: 0.759 MB / 489.1 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.401, allocations: 4 kB / 489.1 MB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.4013, allocations: 47.97 kB / 489.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.436e-05/0.4013, allocations: 24.78 kB / 489.2 MB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.4014, allocations: 11.98 kB / 489.2 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008394/0.4022, allocations: 1.371 MB / 490.5 MB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4022, allocations: 7.969 kB / 490.5 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000599/0.4028, allocations: 0.4999 MB / 491 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.4029, allocations: 104.8 kB / 491.1 MB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.403, allocations: 7.938 kB / 491.2 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.4032, allocations: 11.94 kB / 491.2 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.4033, allocations: 27.84 kB / 491.2 MB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.4033, allocations: 16.05 kB / 491.2 MB, free: 2.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.4035, allocations: 193.9 kB / 491.4 MB, free: 2.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4035, allocations: 0 / 491.4 MB, free: 2.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000425/0.4039, allocations: 96 kB / 491.5 MB, free: 2.504 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.000239/0.4042, allocations: 141.6 kB / 491.6 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006638/0.4049, allocations: 453.1 kB / 492.1 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4049, allocations: 0 / 492.1 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.4052, allocations: 214.5 kB / 492.3 MB, free: 1.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.406, allocations: 168.6 kB / 492.4 MB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4071, allocations: 0.6703 MB / 493.1 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.4074, allocations: 0.7645 MB / 493.9 MB, free: 12 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.4077, allocations: 58.92 kB / 493.9 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.985e-05/0.4077, allocations: 31.44 kB / 494 MB, free: 15.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4078, allocations: 0 / 494 MB, free: 15.93 MB / 398.1 MB Notification: Performance of Templates: time 0.01103/0.4188, allocations: 6.153 MB / 0.4884 GB, free: 9.773 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches