Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009187/0.0009188, allocations: 100.7 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009534/0.0009534, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002052/0.0002053, allocations: 4 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08227/0.08249, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1649/0.2475, allocations: 22.36 MB / 380.4 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00512/0.2526, allocations: 5.303 MB / 385.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003181/0.253, allocations: 3 kB / 385.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006761/0.2537, allocations: 247.4 kB / 386 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005779/0.2542, allocations: 322.3 kB / 386.3 MB, free: 6.676 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.2578, allocations: 1.347 MB / 387.6 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008891/0.2586, allocations: 0.7072 MB / 388.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.2589, allocations: 112.5 kB / 388.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.2593, allocations: 347 kB / 388.8 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.2597, allocations: 244 kB / 389 MB, free: 5.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.041e-05/0.2597, allocations: 26.14 kB / 389.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001725/0.2614, allocations: 0.7555 MB / 389.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2616, allocations: 101.7 kB / 389.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2617, allocations: 127.5 kB / 390 MB, free: 5.012 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009189/0.2626, allocations: 0.7498 MB / 390.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2626, allocations: 0 / 390.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2626, allocations: 1.25 kB / 390.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2626, allocations: 0 / 390.8 MB, free: 4.84 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000887/0.2635, allocations: 0.6893 MB / 391.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2636, allocations: 9.406 kB / 391.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.2642, allocations: 77.39 kB / 391.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.2645, allocations: 321.7 kB / 391.9 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.2646, allocations: 28.06 kB / 391.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.2646, allocations: 41.34 kB / 391.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.2652, allocations: 476.6 kB / 392.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.2652, allocations: 1.219 kB / 392.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.2653, allocations: 21.28 kB / 392.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.2653, allocations: 10 kB / 392.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.2658, allocations: 301.2 kB / 392.7 MB, free: 3.566 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.2779, allocations: 6.736 MB / 399.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.2784, allocations: 268.9 kB / 399.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0103/0.2887, allocations: 3.882 MB / 403.6 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.2887, allocations: 36.91 kB / 403.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.2887, allocations: 0 / 403.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01168/0.3004, allocations: 2.491 MB / 406.1 MB, free: 10.17 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.3005, allocations: 54.59 kB / 406.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.3009, allocations: 299.2 kB / 406.5 MB, free: 9.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.3009, allocations: 32.58 kB / 406.5 MB, free: 9.875 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3011, allocations: 225.8 kB / 406.7 MB, free: 9.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.3012, allocations: 169.1 kB / 406.9 MB, free: 9.52 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.3013, allocations: 8 kB / 406.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3014, allocations: 352.6 kB / 407.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.3017, allocations: 150.4 kB / 407.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.3021, allocations: 276.2 kB / 407.7 MB, free: 8.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.3024, allocations: 192.1 kB / 407.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3024, allocations: 2.594 kB / 407.9 MB, free: 8.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001099/0.3035, allocations: 0.584 MB / 408.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3035, allocations: 10.08 kB / 408.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3035, allocations: 3.25 kB / 408.5 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006551/0.3101, allocations: 0.7668 MB / 409.2 MB, free: 8.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.3105, allocations: 119.8 kB / 409.3 MB, free: 7.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.3124, allocations: 2.463 MB / 411.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.3128, allocations: 40.02 kB / 411.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.3129, allocations: 20 kB / 411.9 MB, free: 5.285 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002282/0.3131, allocations: 177.7 kB / 412 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.3132, allocations: 43.47 kB / 412.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.3144, allocations: 0.8514 MB / 412.9 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.3144, allocations: 11.98 kB / 412.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3144, allocations: 3.938 kB / 412.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000939/0.3153, allocations: 0.9651 MB / 413.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.3174, allocations: 1.485 MB / 415.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.3174, allocations: 4 kB / 415.4 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.3177, allocations: 75.89 kB / 415.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003393/0.3211, allocations: 0.6414 MB / 416.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.3211, allocations: 11.94 kB / 416.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008672/0.322, allocations: 1.288 MB / 417.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.322, allocations: 0 / 417.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.3235, allocations: 1.229 MB / 418.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.3236, allocations: 124.4 kB / 418.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.3237, allocations: 4 kB / 418.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.324, allocations: 35.83 kB / 418.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.3241, allocations: 35.91 kB / 418.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.3241, allocations: 19.98 kB / 418.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.3243, allocations: 202 kB / 419.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3244, allocations: 0 / 419.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008783/0.3252, allocations: 231.9 kB / 419.3 MB, free: 13.58 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007099/0.326, allocations: 278.9 kB / 419.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.3271, allocations: 0.6834 MB / 420.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3271, allocations: 0 / 420.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.328, allocations: 432.2 kB / 420.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.3291, allocations: 223.5 kB / 420.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.331, allocations: 1.473 MB / 422.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.3314, allocations: 0.8483 MB / 423.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000297/0.3317, allocations: 72.33 kB / 423.3 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.3318, allocations: 39.44 kB / 423.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3318, allocations: 0 / 423.3 MB, free: 9.484 MB / 334.1 MB Notification: Performance of Templates: time 0.01843/0.3502, allocations: 11.81 MB / 435.1 MB, free: 13.73 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches