Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001891/0.001891, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002275/0.002275, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.91 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2119, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05563/0.2676, allocations: 45.52 MB / 477.9 MB, free: 9.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006245/0.2738, allocations: 4.697 MB / 482.6 MB, free: 4.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2739, allocations: 7.938 kB / 482.6 MB, free: 4.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006861/0.2746, allocations: 238.6 kB / 482.8 MB, free: 4.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000635/0.2753, allocations: 373.9 kB / 483.2 MB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01657/0.2918, allocations: 7.128 MB / 490.3 MB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.2931, allocations: 1.111 MB / 491.4 MB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.2933, allocations: 98.67 kB / 491.5 MB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006021/0.2993, allocations: 3.607 MB / 495.1 MB, free: 7.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.2999, allocations: 434.5 kB / 495.5 MB, free: 7.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3, allocations: 60 kB / 495.6 MB, free: 7.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.3161, allocations: 9.631 MB / 0.4934 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002988/0.3164, allocations: 243.3 kB / 0.4936 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.3168, allocations: 263.1 kB / 0.4939 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00829/0.3251, allocations: 5.448 MB / 0.4992 GB, free: 7.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3251, allocations: 4 kB / 0.4992 GB, free: 7.699 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3251, allocations: 0 / 0.4992 GB, free: 7.699 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.3251, allocations: 0 / 0.4992 GB, free: 7.699 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002773/0.3279, allocations: 1.329 MB / 0.5005 GB, free: 6.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3279, allocations: 8.031 kB / 0.5005 GB, free: 6.328 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003533/0.3283, allocations: 63.7 kB / 0.5005 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.3288, allocations: 308.4 kB / 0.5008 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.3289, allocations: 29 kB / 0.5009 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.3289, allocations: 44 kB / 0.5009 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.3305, allocations: 0.8855 MB / 0.5018 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.3305, allocations: 4 kB / 0.5018 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.3306, allocations: 20 kB / 0.5018 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.3306, allocations: 12 kB / 0.5018 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.3321, allocations: 0.7378 MB / 0.5025 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.3458, allocations: 3.592 MB / 0.506 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.3471, allocations: 0.5013 MB / 0.5065 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.3475, allocations: 248.2 kB / 0.5068 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01173/0.3592, allocations: 2.553 MB / 0.5093 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.3592, allocations: 43 kB / 0.5093 GB, free: 13.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.004e-06/0.3592, allocations: 0 / 0.5093 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.00578/0.365, allocations: 1.889 MB / 0.5111 GB, free: 11.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.514e-05/0.3651, allocations: 55.91 kB / 0.5112 GB, free: 11.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.3654, allocations: 268.8 kB / 0.5115 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.3654, allocations: 37.7 kB / 0.5115 GB, free: 10.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3656, allocations: 213.2 kB / 0.5117 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.3657, allocations: 206.2 kB / 0.5119 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3659, allocations: 114.3 kB / 0.512 GB, free: 10.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3661, allocations: 342.8 kB / 0.5123 GB, free: 9.957 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004139/0.3665, allocations: 241.2 kB / 0.5126 GB, free: 9.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/0.3672, allocations: 344.2 kB / 0.5129 GB, free: 9.352 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.3684, allocations: 0.5956 MB / 0.5135 GB, free: 8.727 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3685, allocations: 8 kB / 0.5135 GB, free: 8.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001936/0.3704, allocations: 0.7442 MB / 0.5142 GB, free: 7.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3704, allocations: 8 kB / 0.5142 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3704, allocations: 0 / 0.5142 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004977/0.3709, allocations: 114.7 kB / 0.5143 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.3715, allocations: 123.8 kB / 0.5144 GB, free: 7.707 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.3742, allocations: 3.224 MB / 0.5176 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.3744, allocations: 12 kB / 0.5176 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-05/0.3745, allocations: 39.92 kB / 0.5176 GB, free: 4.203 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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 {2} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002402/0.3748, allocations: 185.7 kB / 0.5178 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003093/0.3751, allocations: 47.7 kB / 0.5179 GB, free: 3.965 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.3768, allocations: 0.8073 MB / 0.5186 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/0.378, allocations: 0.7673 MB / 0.5194 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.378, allocations: 4.094 kB / 0.5194 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.3781, allocations: 31.8 kB / 0.5194 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.3782, allocations: 12 kB / 0.5194 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.3785, allocations: 19.98 kB / 0.5195 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.3786, allocations: 32.38 kB / 0.5195 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00147/0.3801, allocations: 0.6371 MB / 0.5201 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001743/0.3818, allocations: 0.9313 MB / 0.521 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004645/0.3823, allocations: 219.4 kB / 0.5212 GB, free: 388 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.3825, allocations: 220.4 kB / 0.5214 GB, free: 168 kB / 430.1 MB Notification: Performance of Backend: time 1.6e-07/0.3825, allocations: 0 / 0.5214 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007243/0.3898, allocations: 2.443 MB / 0.5238 GB, free: 13.68 MB / 446.1 MB Notification: Performance of SimCode: time 0.001954/0.3917, allocations: 1.42 MB / 0.5252 GB, free: 12.21 MB / 446.1 MB Notification: Performance of Templates: time 0.2148/0.6065, allocations: 48.47 MB / 0.5725 GB, free: 78.51 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 7.406891068996629]