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.001352/0.001352, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001424/0.001424, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.336/1.336, allocations: 205.1 MB / 225 MB, free: 12.3 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.001166/0.001167, allocations: 47.92 kB / 281.3 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08061/0.08178, allocations: 46.63 MB / 327.9 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02436/0.1062, allocations: 27.04 MB / 355 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.1107, allocations: 4.163 MB / 359.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.111, allocations: 4 kB / 359.2 MB, free: 5.137 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.1117, allocations: 206.7 kB / 359.4 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005827/0.1123, allocations: 334.1 kB / 359.7 MB, free: 4.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.1161, allocations: 1.478 MB / 361.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000883/0.117, allocations: 0.8835 MB / 362 MB, free: 2.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1172, allocations: 96.67 kB / 362.1 MB, free: 2.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005506/0.1227, allocations: 4.057 MB / 366.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003471/0.1231, allocations: 278.9 kB / 366.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.921e-05/0.1232, allocations: 32 kB / 366.5 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.1244, allocations: 0.7103 MB / 367.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.1246, allocations: 107.7 kB / 367.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.1248, allocations: 183.3 kB / 367.5 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.1258, allocations: 0.8456 MB / 368.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1258, allocations: 0 / 368.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1258, allocations: 0 / 368.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.1258, allocations: 0 / 368.3 MB, free: 11.93 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.0009055/0.1267, allocations: 0.6471 MB / 369 MB, free: 11.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1268, allocations: 12.03 kB / 369 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.1272, allocations: 60.55 kB / 369.1 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.1276, allocations: 291.7 kB / 369.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1276, allocations: 24.94 kB / 369.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.1277, allocations: 24.38 kB / 369.4 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.1281, allocations: 346.6 kB / 369.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1282, allocations: 3.938 kB / 369.7 MB, free: 10.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.1282, allocations: 12 kB / 369.7 MB, free: 10.4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.1282, allocations: 8 kB / 369.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.1285, allocations: 206 kB / 370 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.1409, allocations: 5.912 MB / 375.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.1412, allocations: 182.6 kB / 376 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.1414, allocations: 84.78 kB / 376.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1437/0.285, allocations: 3.885 MB / 380 MB, free: 58.58 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2851, allocations: 38.91 kB / 380 MB, free: 58.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.843e-06/0.2851, allocations: 0 / 380 MB, free: 58.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006155/0.2913, allocations: 1.416 MB / 381.5 MB, free: 58.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.2913, allocations: 58.12 kB / 381.5 MB, free: 57.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.2916, allocations: 263.3 kB / 381.8 MB, free: 57.81 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2916, allocations: 33.2 kB / 381.8 MB, free: 57.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2918, allocations: 183.6 kB / 382 MB, free: 57.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.2918, allocations: 91.38 kB / 382.1 MB, free: 57.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-05/0.2919, allocations: 65.67 kB / 382.1 MB, free: 57.51 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.292, allocations: 338.6 kB / 382.5 MB, free: 57.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.2921, allocations: 92.89 kB / 382.6 MB, free: 57.15 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.2923, allocations: 188 kB / 382.7 MB, free: 57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.2927, allocations: 298.3 kB / 383 MB, free: 56.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2927, allocations: 5.125 kB / 383 MB, free: 56.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006306/0.2933, allocations: 395.3 kB / 383.4 MB, free: 56.6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2934, allocations: 9.828 kB / 383.4 MB, free: 56.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2934, allocations: 3.344 kB / 383.4 MB, free: 56.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004236/0.2976, allocations: 0.9371 MB / 384.4 MB, free: 56.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.2979, allocations: 74.14 kB / 384.5 MB, free: 56.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.2991, allocations: 1.985 MB / 386.4 MB, free: 54.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.2993, allocations: 12.69 kB / 386.4 MB, free: 54.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.2994, allocations: 12.48 kB / 386.5 MB, free: 54.55 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.0001611/0.2995, allocations: 152.8 kB / 386.6 MB, free: 54.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.2996, allocations: 33.16 kB / 386.6 MB, free: 54.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006829/0.3003, allocations: 494.9 kB / 387.1 MB, free: 54.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3003, allocations: 8.531 kB / 387.1 MB, free: 54.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3003, allocations: 1.031 kB / 387.1 MB, free: 54.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005544/0.3009, allocations: 0.7189 MB / 387.9 MB, free: 53.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.3021, allocations: 0.9468 MB / 388.8 MB, free: 52.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3021, allocations: 0 / 388.8 MB, free: 52.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.3023, allocations: 50.52 kB / 388.8 MB, free: 52.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.304, allocations: 319.4 kB / 389.2 MB, free: 52.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.3041, allocations: 11.72 kB / 389.2 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004055/0.3045, allocations: 0.6391 MB / 389.8 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.3045, allocations: 5.828 kB / 389.8 MB, free: 52.3 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008773/0.3054, allocations: 0.7207 MB / 390.5 MB, free: 51.89 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.3055, allocations: 102 kB / 390.6 MB, free: 51.78 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.3055, allocations: 7.062 kB / 390.6 MB, free: 51.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.3057, allocations: 10.03 kB / 390.7 MB, free: 51.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.3058, allocations: 18.23 kB / 390.7 MB, free: 51.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.3058, allocations: 12.22 kB / 390.7 MB, free: 51.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.306, allocations: 189 kB / 390.9 MB, free: 51.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.306, allocations: 0 / 390.9 MB, free: 51.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000719/0.3067, allocations: 186.8 kB / 391.1 MB, free: 51.63 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.0005551/0.3073, allocations: 270.2 kB / 391.3 MB, free: 51.52 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008262/0.3081, allocations: 464.8 kB / 391.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3081, allocations: 0 / 391.8 MB, free: 51.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004926/0.3086, allocations: 234.5 kB / 392 MB, free: 51.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009421/0.3096, allocations: 167.9 kB / 392.2 MB, free: 51.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.3107, allocations: 0.8238 MB / 393 MB, free: 50.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.311, allocations: 0.7784 MB / 393.8 MB, free: 49.95 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.311, allocations: 35.36 kB / 393.8 MB, free: 49.93 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.311, allocations: 1.406 kB / 393.8 MB, free: 49.93 MB / 318.1 MB Notification: Performance of Templates: time 0.009646/0.3207, allocations: 8.395 MB / 402.2 MB, free: 44.64 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 -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