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.001531/0.001531, allocations: 107.2 kB / 18.4 MB, free: 4.676 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.001714/0.001714, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.28/1.28, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001188/0.001188, allocations: 43.94 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07442/0.07562, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2941/0.3698, allocations: 144 MB / 0.5077 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3721, allocations: 1.73 MB / 0.5094 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.3724, allocations: 4 kB / 0.5094 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.373, allocations: 182.8 kB / 0.5096 GB, free: 13.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.3737, allocations: 326.2 kB / 0.5099 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.3747, allocations: 411.6 kB / 0.5103 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009464/0.3757, allocations: 0.8368 MB / 0.5111 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.3759, allocations: 102.2 kB / 0.5112 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006803/0.3765, allocations: 394.6 kB / 0.5116 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005061/0.3771, allocations: 330.9 kB / 0.5119 GB, free: 11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.787e-05/0.3772, allocations: 32 kB / 0.5119 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.3775, allocations: 139.7 kB / 0.512 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3776, allocations: 91.72 kB / 0.5121 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002202/0.3779, allocations: 187.3 kB / 0.5123 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005186/0.3784, allocations: 491.8 kB / 0.5128 GB, free: 10.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3784, allocations: 3.938 kB / 0.5128 GB, free: 10.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3784, allocations: 0 / 0.5128 GB, free: 10.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3784, allocations: 0 / 0.5128 GB, free: 10.07 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008328/0.3793, allocations: 0.5894 MB / 0.5134 GB, free: 9.438 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3793, allocations: 15.89 kB / 0.5134 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002884/0.3796, allocations: 48.48 kB / 0.5134 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004238/0.38, allocations: 287.7 kB / 0.5137 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.3801, allocations: 20.94 kB / 0.5137 GB, free: 9.035 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.3801, allocations: 28.31 kB / 0.5137 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.3806, allocations: 309.7 kB / 0.514 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3806, allocations: 0 / 0.514 GB, free: 8.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.3807, allocations: 12 kB / 0.514 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.3807, allocations: 7.984 kB / 0.5141 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.381, allocations: 202.1 kB / 0.5142 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.3827, allocations: 1.296 MB / 0.5155 GB, free: 7.051 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000355/0.383, allocations: 191.5 kB / 0.5157 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3832, allocations: 88.83 kB / 0.5158 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.3833, allocations: 170.2 kB / 0.5159 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3834, allocations: 34.56 kB / 0.516 GB, free: 6.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 1.984e-06/0.3834, allocations: 0 / 0.516 GB, free: 6.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002343/0.3857, allocations: 1.038 MB / 0.517 GB, free: 5.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.3858, allocations: 55.41 kB / 0.517 GB, free: 5.316 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.386, allocations: 262.5 kB / 0.5173 GB, free: 5.051 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.3861, allocations: 37.7 kB / 0.5173 GB, free: 5.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3862, allocations: 172.2 kB / 0.5175 GB, free: 4.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.3863, allocations: 90.66 kB / 0.5176 GB, free: 4.746 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.3864, allocations: 61.7 kB / 0.5176 GB, free: 4.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3865, allocations: 346.7 kB / 0.518 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3866, allocations: 75.97 kB / 0.518 GB, free: 4.258 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.3868, allocations: 183.7 kB / 0.5182 GB, free: 4.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.3872, allocations: 287.8 kB / 0.5185 GB, free: 3.711 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3872, allocations: 2.562 kB / 0.5185 GB, free: 3.711 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006245/0.3878, allocations: 444 kB / 0.5189 GB, free: 3.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3878, allocations: 4 kB / 0.5189 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3879, allocations: 4 kB / 0.5189 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.388, allocations: 41.7 kB / 0.519 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.3883, allocations: 79.89 kB / 0.519 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.3902, allocations: 2.761 MB / 0.5217 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3904, allocations: 8.875 kB / 0.5217 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.3905, allocations: 20.16 kB / 0.5218 GB, free: 44 kB / 446.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.0001734/0.3906, allocations: 157.6 kB / 0.5219 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.3907, allocations: 27.72 kB / 0.5219 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.3913, allocations: 354.7 kB / 0.5223 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005405/0.3918, allocations: 0.623 MB / 0.5229 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3918, allocations: 0 / 0.5229 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.3919, allocations: 104.8 kB / 0.523 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.392, allocations: 8 kB / 0.523 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.3922, allocations: 6.5 kB / 0.523 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.3922, allocations: 19.91 kB / 0.523 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000689/0.3929, allocations: 337.8 kB / 0.5233 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000555/0.3935, allocations: 0.4903 MB / 0.5238 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001385/0.3937, allocations: 92 kB / 0.5239 GB, free: 13.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.3938, allocations: 182 kB / 0.5241 GB, free: 13.48 MB / 462.1 MB Notification: Performance of Backend: time 5.61e-07/0.3939, allocations: 0 / 0.5241 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3949, allocations: 0.4956 MB / 0.5246 GB, free: 12.95 MB / 462.1 MB Notification: Performance of SimCode: time 0.001566/0.3965, allocations: 1.153 MB / 0.5257 GB, free: 11.76 MB / 462.1 MB Notification: Performance of Templates: time 0.01017/0.4066, allocations: 5.744 MB / 0.5313 GB, free: 6.016 MB / 462.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 -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