Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001798/0.001798, allocations: 187 kB / 19.29 MB, free: 3.848 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.309/1.309, 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.001152/0.001152, allocations: 43.94 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07706/0.07823, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02365/0.1019, allocations: 27.04 MB / 355.8 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004292/0.1062, allocations: 4.171 MB / 359.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1064, allocations: 4 kB / 359.9 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000571/0.1071, allocations: 202.7 kB / 360.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005685/0.1076, allocations: 342.1 kB / 360.5 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003536/0.1112, allocations: 1.474 MB / 361.9 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009023/0.1121, allocations: 0.8834 MB / 362.8 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.1123, allocations: 108.6 kB / 362.9 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005445/0.1178, allocations: 4.045 MB / 367 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003505/0.1181, allocations: 278.9 kB / 367.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.1182, allocations: 32 kB / 367.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.1194, allocations: 0.722 MB / 368 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1196, allocations: 95.66 kB / 368.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.1198, allocations: 195.2 kB / 368.3 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009534/0.1207, allocations: 0.8456 MB / 369.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1207, allocations: 3.938 kB / 369.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1207, allocations: 0 / 369.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1208, allocations: 4 kB / 369.1 MB, free: 11.2 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008252/0.1216, allocations: 0.6433 MB / 369.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1216, allocations: 8.031 kB / 369.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.1221, allocations: 56.53 kB / 369.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.1225, allocations: 295.7 kB / 370.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1226, allocations: 24.88 kB / 370.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.467e-05/0.1226, allocations: 32.36 kB / 370.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004582/0.1231, allocations: 338.6 kB / 370.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1231, allocations: 0 / 370.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/0.1231, allocations: 20 kB / 370.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1232, allocations: 8 kB / 370.6 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.1235, allocations: 206 kB / 370.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/0.1356, allocations: 5.904 MB / 376.7 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.1359, allocations: 182.6 kB / 376.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.136, allocations: 92.83 kB / 376.9 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1505/0.2865, allocations: 3.879 MB / 380.8 MB, free: 57.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2866, allocations: 38.02 kB / 380.8 MB, free: 57.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.034e-06/0.2866, allocations: 1.094 kB / 380.8 MB, free: 57.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006468/0.2931, allocations: 1.406 MB / 382.2 MB, free: 57.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.2931, allocations: 54.81 kB / 382.3 MB, free: 57.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.2934, allocations: 263.4 kB / 382.6 MB, free: 56.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.2935, allocations: 35.39 kB / 382.6 MB, free: 56.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.2936, allocations: 184.1 kB / 382.8 MB, free: 56.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.2936, allocations: 97.55 kB / 382.9 MB, free: 56.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.51e-05/0.2937, allocations: 60.34 kB / 382.9 MB, free: 56.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.2938, allocations: 338.2 kB / 383.3 MB, free: 56.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2939, allocations: 96.72 kB / 383.4 MB, free: 56.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.2941, allocations: 190.1 kB / 383.5 MB, free: 56.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.2945, allocations: 298.4 kB / 383.8 MB, free: 56.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2945, allocations: 3.938 kB / 383.8 MB, free: 56.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006321/0.2951, allocations: 390.7 kB / 384.2 MB, free: 55.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2952, allocations: 6.828 kB / 384.2 MB, free: 55.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2952, allocations: 2.562 kB / 384.2 MB, free: 55.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004155/0.2993, allocations: 0.9478 MB / 385.2 MB, free: 55.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.2996, allocations: 68.89 kB / 385.2 MB, free: 55.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.3008, allocations: 1.981 MB / 387.2 MB, free: 53.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.301, allocations: 7.812 kB / 387.2 MB, free: 53.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.301, allocations: 15.77 kB / 387.2 MB, free: 53.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.3012, allocations: 156.7 kB / 387.4 MB, free: 53.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.3013, allocations: 30.94 kB / 387.4 MB, free: 53.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006925/0.3019, allocations: 487.8 kB / 387.9 MB, free: 53.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.302, allocations: 12.19 kB / 387.9 MB, free: 53.42 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.302, allocations: 0 / 387.9 MB, free: 53.42 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005523/0.3025, allocations: 0.7197 MB / 388.6 MB, free: 52.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3037, allocations: 0.9498 MB / 389.6 MB, free: 52.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3037, allocations: 1.922 kB / 389.6 MB, free: 52.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.3039, allocations: 46.41 kB / 389.6 MB, free: 52.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/0.3056, allocations: 319.5 kB / 389.9 MB, free: 52.15 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.3057, allocations: 8.609 kB / 390 MB, free: 52.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003839/0.3061, allocations: 0.6392 MB / 390.6 MB, free: 51.57 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3061, allocations: 8 kB / 390.6 MB, free: 51.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.3069, allocations: 0.7181 MB / 391.3 MB, free: 51.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.307, allocations: 101.4 kB / 391.4 MB, free: 51.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.307, allocations: 7.391 kB / 391.4 MB, free: 51.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3072, allocations: 10.56 kB / 391.4 MB, free: 51.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.3072, allocations: 18.23 kB / 391.5 MB, free: 51.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.3073, allocations: 14.64 kB / 391.5 MB, free: 51.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.3074, allocations: 181.9 kB / 391.6 MB, free: 50.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3074, allocations: 0.8438 kB / 391.6 MB, free: 50.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006399/0.3081, allocations: 189.8 kB / 391.8 MB, free: 50.89 MB / 318.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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005151/0.3086, allocations: 268.6 kB / 392.1 MB, free: 50.78 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007233/0.3093, allocations: 463.5 kB / 392.5 MB, free: 50.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3093, allocations: 0 / 392.5 MB, free: 50.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.3098, allocations: 234.2 kB / 392.8 MB, free: 50.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/0.3107, allocations: 169 kB / 392.9 MB, free: 50.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.3118, allocations: 0.787 MB / 393.7 MB, free: 49.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.312, allocations: 0.7804 MB / 394.5 MB, free: 49.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.3122, allocations: 53.94 kB / 394.6 MB, free: 49.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.3122, allocations: 29.97 kB / 394.6 MB, free: 49.22 MB / 318.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3122, allocations: 1.344 kB / 394.6 MB, free: 49.22 MB / 318.1 MB Notification: Performance of Templates: time 0.01283/0.3251, allocations: 9.916 MB / 404.5 MB, free: 42.24 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches