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.001235/0.001235, allocations: 110 kB / 17.16 MB, free: 6.305 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.001282/0.001282, allocations: 198 kB / 18.07 MB, free: 5.41 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.318/1.318, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001244/0.001244, allocations: 47.94 kB / 280 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08638, allocations: 46.63 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02639/0.1128, allocations: 27.3 MB / 353.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004623/0.1175, allocations: 4.202 MB / 358.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.1178, allocations: 4 kB / 358.1 MB, free: 5.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006857/0.1186, allocations: 183 kB / 358.3 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007148/0.1193, allocations: 330.3 kB / 358.6 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.1229, allocations: 1.234 MB / 359.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.1243, allocations: 1.344 MB / 361.2 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.1245, allocations: 72.69 kB / 361.2 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007425/0.1319, allocations: 4.211 MB / 365.5 MB, free: 13.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005793/0.1325, allocations: 286.9 kB / 365.7 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.341e-05/0.1326, allocations: 16 kB / 365.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.1344, allocations: 0.7023 MB / 366.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1346, allocations: 83.7 kB / 366.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.1348, allocations: 175.3 kB / 366.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.1365, allocations: 0.8261 MB / 367.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1365, allocations: 0 / 367.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1365, allocations: 0 / 367.5 MB, free: 11.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.1365, allocations: 0 / 367.5 MB, free: 11.81 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.001139/0.1376, allocations: 0.6549 MB / 368.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1377, allocations: 12.03 kB / 368.2 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.1382, allocations: 56.53 kB / 368.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004418/0.1387, allocations: 287.7 kB / 368.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1387, allocations: 20.94 kB / 368.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.1387, allocations: 28.38 kB / 368.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.1393, allocations: 342.6 kB / 368.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.1393, allocations: 0 / 368.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.1394, allocations: 12 kB / 368.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1394, allocations: 8 kB / 368.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003592/0.1398, allocations: 225.9 kB / 369.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/0.1527, allocations: 5.908 MB / 375.1 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.1531, allocations: 174.7 kB / 375.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.1532, allocations: 88.83 kB / 375.3 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.162/0.3153, allocations: 3.875 MB / 379.2 MB, free: 48.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.3153, allocations: 36.92 kB / 379.2 MB, free: 48.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.056e-06/0.3153, allocations: 0 / 379.2 MB, free: 48.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006437/0.3218, allocations: 1.403 MB / 380.6 MB, free: 47.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.3218, allocations: 62.36 kB / 380.7 MB, free: 47.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.3221, allocations: 257.5 kB / 381 MB, free: 47.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3221, allocations: 32.86 kB / 381 MB, free: 47.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.3222, allocations: 189.8 kB / 381.2 MB, free: 47.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.3223, allocations: 91.06 kB / 381.3 MB, free: 47.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.3224, allocations: 63.84 kB / 381.3 MB, free: 47.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.5e-05/0.3225, allocations: 339.9 kB / 381.7 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.3226, allocations: 91.17 kB / 381.7 MB, free: 47.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.3229, allocations: 190.2 kB / 381.9 MB, free: 47.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.3232, allocations: 301.7 kB / 382.2 MB, free: 46.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3232, allocations: 1.406 kB / 382.2 MB, free: 46.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006321/0.3239, allocations: 393.4 kB / 382.6 MB, free: 46.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3239, allocations: 10.28 kB / 382.6 MB, free: 46.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3239, allocations: 10.05 kB / 382.6 MB, free: 46.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004411/0.3283, allocations: 0.9447 MB / 383.6 MB, free: 46.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.3287, allocations: 64.48 kB / 383.6 MB, free: 46.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.3299, allocations: 1.876 MB / 385.5 MB, free: 45.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.3302, allocations: 32.39 kB / 385.5 MB, free: 45.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.3302, allocations: 15.98 kB / 385.6 MB, free: 45.09 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.0001721/0.3304, allocations: 153.4 kB / 385.7 MB, free: 44.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.3305, allocations: 26.53 kB / 385.7 MB, free: 44.96 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.3312, allocations: 494.8 kB / 386.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3312, allocations: 5.141 kB / 386.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3312, allocations: 4.969 kB / 386.2 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006125/0.3318, allocations: 0.713 MB / 386.9 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.3332, allocations: 0.955 MB / 387.9 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3332, allocations: 1.219 kB / 387.9 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.3334, allocations: 50.73 kB / 387.9 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/0.3353, allocations: 317.1 kB / 388.3 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.3353, allocations: 11.56 kB / 388.3 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004476/0.3358, allocations: 0.6454 MB / 388.9 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3358, allocations: 0.75 kB / 388.9 MB, free: 43.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.3368, allocations: 0.7156 MB / 389.6 MB, free: 43.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.3369, allocations: 101.9 kB / 389.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.3369, allocations: 6.719 kB / 389.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3371, allocations: 24.89 kB / 389.8 MB, free: 43.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.3372, allocations: 18.03 kB / 389.8 MB, free: 43.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.3372, allocations: 14.69 kB / 389.8 MB, free: 43.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3374, allocations: 184.3 kB / 390 MB, free: 43.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3374, allocations: 0 / 390 MB, free: 43.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007899/0.3382, allocations: 188.3 kB / 390.2 MB, free: 43.18 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.0006174/0.3388, allocations: 273.6 kB / 390.4 MB, free: 43.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.3396, allocations: 449.9 kB / 390.9 MB, free: 42.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3396, allocations: 4 kB / 390.9 MB, free: 42.96 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005353/0.3402, allocations: 229.9 kB / 391.1 MB, free: 42.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009609/0.3412, allocations: 163.7 kB / 391.3 MB, free: 42.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.3424, allocations: 0.9156 MB / 392.2 MB, free: 42.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3426, allocations: 0.7751 MB / 392.9 MB, free: 41.67 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.3428, allocations: 53.95 kB / 393 MB, free: 41.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.972e-05/0.3429, allocations: 28.97 kB / 393 MB, free: 41.65 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3429, allocations: 0 / 393 MB, free: 41.65 MB / 318.1 MB Notification: Performance of Templates: time 0.01462/0.3575, allocations: 9.607 MB / 402.6 MB, free: 37.21 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches