Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 84.94 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.412/1.412, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.086e-05, allocations: 2.281 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3685/0.3685, allocations: 130.2 MB / 0.5569 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007968/0.3765, allocations: 5.175 MB / 0.562 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.3771, allocations: 27.75 kB / 0.562 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009941/0.3781, allocations: 317.8 kB / 0.5623 GB, free: 2.289 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.3801, allocations: 0.9126 MB / 0.5632 GB, free: 1.371 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002894/0.383, allocations: 1.081 MB / 0.5643 GB, free: 312 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.3855, allocations: 1.836 MB / 0.566 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006835/0.3862, allocations: 397.6 kB / 0.5664 GB, free: 14.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.3879, allocations: 1.001 MB / 0.5674 GB, free: 13.06 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.3891, allocations: 0.6974 MB / 0.5681 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.3893, allocations: 60 kB / 0.5681 GB, free: 12.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.3904, allocations: 498.9 kB / 0.5686 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.3907, allocations: 291 kB / 0.5689 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.3911, allocations: 283.4 kB / 0.5692 GB, free: 11.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3926, allocations: 1.204 MB / 0.5703 GB, free: 10.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3926, allocations: 0 / 0.5703 GB, free: 10.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3926, allocations: 0 / 0.5703 GB, free: 10.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.3927, allocations: 4 kB / 0.5703 GB, free: 10.04 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002166/0.3948, allocations: 0.9872 MB / 0.5713 GB, free: 9.023 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3949, allocations: 12.03 kB / 0.5713 GB, free: 9.012 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003765/0.3952, allocations: 100.5 kB / 0.5714 GB, free: 8.914 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009168/0.3962, allocations: 477.9 kB / 0.5719 GB, free: 8.418 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.3963, allocations: 156.3 kB / 0.572 GB, free: 8.242 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.185e-05/0.3964, allocations: 48.38 kB / 0.5721 GB, free: 8.195 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.3979, allocations: 1.134 MB / 0.5732 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.3979, allocations: 384 / 0.5732 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.398, allocations: 33.14 kB / 0.5732 GB, free: 6.879 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.233e-05/0.3981, allocations: 44.92 kB / 0.5732 GB, free: 6.836 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.3992, allocations: 0.6479 MB / 0.5739 GB, free: 6.188 MB / 478.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.004545/0.4037, allocations: 3.074 MB / 0.5769 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.4046, allocations: 408.2 kB / 0.5773 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.4049, allocations: 189.4 kB / 0.5775 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.4052, allocations: 60.28 kB / 0.5775 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.4053, allocations: 42.88 kB / 0.5775 GB, free: 2.305 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.245e-06/0.4053, allocations: 0 / 0.5775 GB, free: 2.305 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.004696/0.41, allocations: 1.392 MB / 0.5789 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/0.41, allocations: 136.5 kB / 0.579 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006024/0.4106, allocations: 0.5181 MB / 0.5795 GB, free: 192 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.4107, allocations: 37.7 kB / 0.5796 GB, free: 148 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.411, allocations: 374.1 kB / 0.5799 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.4111, allocations: 166.6 kB / 0.5801 GB, free: 15.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.4113, allocations: 142.6 kB / 0.5802 GB, free: 15.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4115, allocations: 366.8 kB / 0.5806 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003852/0.4119, allocations: 217.9 kB / 0.5808 GB, free: 14.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.4126, allocations: 0.5877 MB / 0.5814 GB, free: 14.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.4137, allocations: 0.7611 MB / 0.5821 GB, free: 13.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4137, allocations: 4 kB / 0.5821 GB, free: 13.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00168/0.4154, allocations: 0.8965 MB / 0.583 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.4154, allocations: 16.03 kB / 0.583 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.4154, allocations: 8 kB / 0.583 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.4168, allocations: 283.1 kB / 0.5833 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.4173, allocations: 123.8 kB / 0.5834 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.4184, allocations: 0.8917 MB / 0.5843 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.4188, allocations: 32.92 kB / 0.5843 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.4189, allocations: 32 kB / 0.5843 GB, free: 10.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003654/0.4193, allocations: 253.2 kB / 0.5846 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.4194, allocations: 71.5 kB / 0.5846 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.4208, allocations: 0.6832 MB / 0.5853 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.4208, allocations: 7.938 kB / 0.5853 GB, free: 9.914 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4208, allocations: 4 kB / 0.5853 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4208, allocations: 3.984 kB / 0.5853 GB, free: 9.906 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.4229, allocations: 1.172 MB / 0.5865 GB, free: 8.676 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4229, allocations: 8.812 kB / 0.5865 GB, free: 8.668 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.424, allocations: 207.9 kB / 0.5867 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.144e-05/0.4241, allocations: 24.84 kB / 0.5867 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.4241, allocations: 11.94 kB / 0.5867 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.4265, allocations: 2.627 MB / 0.5893 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4265, allocations: 0 / 0.5893 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.428, allocations: 0.9239 MB / 0.5902 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.4283, allocations: 123.8 kB / 0.5903 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/0.4284, allocations: 21.06 kB / 0.5903 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.4288, allocations: 16 kB / 0.5903 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4289, allocations: 39.92 kB / 0.5904 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/0.4289, allocations: 19.98 kB / 0.5904 GB, free: 4.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004816/0.4294, allocations: 354.8 kB / 0.5907 GB, free: 4.082 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4294, allocations: 0 / 0.5907 GB, free: 4.082 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000879/0.4303, allocations: 223.8 kB / 0.5909 GB, free: 3.863 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0005197/0.4308, allocations: 251 kB / 0.5912 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.4321, allocations: 0.5841 MB / 0.5917 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4321, allocations: 0.5625 kB / 0.5917 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.4332, allocations: 443.3 kB / 0.5922 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.4348, allocations: 333.3 kB / 0.5925 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.437, allocations: 1.289 MB / 0.5937 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.4374, allocations: 345.1 kB / 0.5941 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000549/0.4379, allocations: 196.2 kB / 0.5943 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.4381, allocations: 64.42 kB / 0.5943 GB, free: 332 kB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4381, allocations: 0 / 0.5943 GB, free: 332 kB / 494.1 MB Notification: Performance of Templates: time 0.02619/0.4643, allocations: 14.23 MB / 0.6082 GB, free: 2.363 MB / 0.4981 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 5.437077157199383]