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.001041/0.001041, 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.001072/0.001072, allocations: 191 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.342/1.342, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001237/0.001237, allocations: 55.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08314/0.08439, allocations: 46.62 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02458/0.109, allocations: 27.04 MB / 355.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004583/0.1136, allocations: 4.167 MB / 359.9 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.1138, allocations: 8 kB / 359.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.1145, allocations: 198.7 kB / 360.1 MB, free: 4.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005528/0.115, allocations: 338.1 kB / 360.5 MB, free: 3.902 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003505/0.1185, allocations: 1.485 MB / 362 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000889/0.1194, allocations: 0.8834 MB / 362.8 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.1196, allocations: 96.62 kB / 362.9 MB, free: 1.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/0.1253, allocations: 4.053 MB / 367 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.1256, allocations: 282.9 kB / 367.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.1257, allocations: 36 kB / 367.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.127, allocations: 0.7142 MB / 368 MB, free: 12.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1271, allocations: 99.66 kB / 368.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.1273, allocations: 187.3 kB / 368.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000995/0.1283, allocations: 0.8534 MB / 369.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1283, allocations: 0 / 369.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1284, allocations: 0 / 369.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1284, allocations: 0 / 369.1 MB, free: 11.21 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.0008844/0.1293, allocations: 0.6472 MB / 369.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1293, allocations: 12.03 kB / 369.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004483/0.1298, allocations: 56.53 kB / 369.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.1302, allocations: 287.7 kB / 370.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.1302, allocations: 28.88 kB / 370.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.1303, allocations: 28.38 kB / 370.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.1308, allocations: 342.5 kB / 370.5 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1308, allocations: 4 kB / 370.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.1309, allocations: 12 kB / 370.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.1309, allocations: 4 kB / 370.5 MB, free: 9.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.1312, allocations: 218 kB / 370.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.1437, allocations: 5.904 MB / 376.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.144, allocations: 178.6 kB / 376.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.1442, allocations: 84.84 kB / 376.9 MB, free: 2.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1488/0.293, allocations: 3.883 MB / 380.8 MB, free: 57.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.293, allocations: 32.92 kB / 380.8 MB, free: 57.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.2931, allocations: 1.594 kB / 380.8 MB, free: 57.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006354/0.2994, allocations: 1.409 MB / 382.2 MB, free: 57.05 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.2995, allocations: 53.62 kB / 382.3 MB, free: 56.99 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.2997, allocations: 266.7 kB / 382.6 MB, free: 56.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.2998, allocations: 32.05 kB / 382.6 MB, free: 56.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.2999, allocations: 187.6 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.2999, allocations: 95.69 kB / 382.9 MB, free: 56.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.3, allocations: 64.7 kB / 382.9 MB, free: 56.65 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.98e-05/0.3001, allocations: 340.4 kB / 383.3 MB, free: 56.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3002, allocations: 90.69 kB / 383.4 MB, free: 56.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.3004, allocations: 191.7 kB / 383.5 MB, free: 56.2 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.3008, allocations: 299.6 kB / 383.8 MB, free: 56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3008, allocations: 1.438 kB / 383.8 MB, free: 56 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006004/0.3014, allocations: 395.2 kB / 384.2 MB, free: 55.81 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3014, allocations: 5.906 kB / 384.2 MB, free: 55.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3014, allocations: 2.688 kB / 384.2 MB, free: 55.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004167/0.3056, allocations: 0.9421 MB / 385.2 MB, free: 55.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.3059, allocations: 71.09 kB / 385.2 MB, free: 55.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/0.307, allocations: 1.98 MB / 387.2 MB, free: 53.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.3072, allocations: 8.781 kB / 387.2 MB, free: 53.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.3072, allocations: 21.14 kB / 387.2 MB, free: 53.75 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.0001328/0.3074, allocations: 154.5 kB / 387.4 MB, free: 53.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.3074, allocations: 29.97 kB / 387.4 MB, free: 53.6 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006733/0.3081, allocations: 487.3 kB / 387.9 MB, free: 53.37 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.3081, allocations: 9.125 kB / 387.9 MB, free: 53.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3082, allocations: 0 / 387.9 MB, free: 53.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005591/0.3087, allocations: 0.7305 MB / 388.6 MB, free: 52.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.3099, allocations: 0.946 MB / 389.6 MB, free: 52.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3099, allocations: 0 / 389.6 MB, free: 52.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.3101, allocations: 45.12 kB / 389.6 MB, free: 52.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001719/0.3118, allocations: 314.7 kB / 389.9 MB, free: 52.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.3119, allocations: 13.19 kB / 390 MB, free: 52.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003598/0.3122, allocations: 0.6383 MB / 390.6 MB, free: 51.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3122, allocations: 5.094 kB / 390.6 MB, free: 51.51 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.313, allocations: 0.7174 MB / 391.3 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.3131, allocations: 106.1 kB / 391.4 MB, free: 50.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.3132, allocations: 6.781 kB / 391.4 MB, free: 50.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3133, allocations: 10.19 kB / 391.4 MB, free: 50.97 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.3134, allocations: 15.38 kB / 391.4 MB, free: 50.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.3134, allocations: 12.69 kB / 391.5 MB, free: 50.96 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001634/0.3136, allocations: 184.1 kB / 391.6 MB, free: 50.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3136, allocations: 4.062 kB / 391.6 MB, free: 50.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006438/0.3142, allocations: 189 kB / 391.8 MB, free: 50.84 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.0005081/0.3148, allocations: 269.3 kB / 392.1 MB, free: 50.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007396/0.3155, allocations: 458.7 kB / 392.5 MB, free: 50.49 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3155, allocations: 1.469 kB / 392.5 MB, free: 50.49 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.316, allocations: 235.5 kB / 392.8 MB, free: 50.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.3169, allocations: 168.6 kB / 392.9 MB, free: 50.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.318, allocations: 0.7862 MB / 393.7 MB, free: 49.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001907/0.3182, allocations: 0.7848 MB / 394.5 MB, free: 49.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.3183, allocations: 48.94 kB / 394.6 MB, free: 49.17 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.3184, allocations: 30.41 kB / 394.6 MB, free: 49.16 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3184, allocations: 0 / 394.6 MB, free: 49.16 MB / 318.1 MB Notification: Performance of Templates: time 0.01258/0.331, allocations: 9.922 MB / 404.5 MB, free: 42.18 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 cvode -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