Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00158/0.00158, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001745/0.001745, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.481/1.481, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 63.27 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09975/0.1017, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1876/0.2893, allocations: 27.1 MB / 385.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.2934, allocations: 4.163 MB / 389.7 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.2936, allocations: 4.5 kB / 389.7 MB, free: 3.477 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000617/0.2943, allocations: 211.2 kB / 389.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000639/0.295, allocations: 331.7 kB / 390.2 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004036/0.299, allocations: 1.471 MB / 391.7 MB, free: 2.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.3002, allocations: 0.8889 MB / 392.6 MB, free: 1.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.3005, allocations: 105.5 kB / 392.7 MB, free: 1.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006043/0.3065, allocations: 4.046 MB / 396.7 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.3069, allocations: 278.3 kB / 397 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.859e-05/0.307, allocations: 31.09 kB / 397 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.3085, allocations: 0.7195 MB / 397.8 MB, free: 404 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3086, allocations: 97.52 kB / 397.9 MB, free: 328 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.3089, allocations: 198 kB / 398 MB, free: 212 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.3102, allocations: 0.845 MB / 398.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3102, allocations: 0 / 398.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3102, allocations: 0 / 398.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3103, allocations: 0 / 398.9 MB, free: 15.66 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.001206/0.3115, allocations: 0.6448 MB / 399.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3115, allocations: 13.34 kB / 399.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/0.312, allocations: 64.94 kB / 399.6 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/0.3124, allocations: 279.8 kB / 399.9 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.3125, allocations: 19.78 kB / 399.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.296e-05/0.3125, allocations: 34.33 kB / 399.9 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/0.3131, allocations: 346.4 kB / 400.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.3131, allocations: 1.281 kB / 400.3 MB, free: 14.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.3132, allocations: 11.56 kB / 400.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.3132, allocations: 6.781 kB / 400.3 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.3135, allocations: 208.9 kB / 400.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01387/0.3274, allocations: 5.922 MB / 406.4 MB, free: 9.621 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.3278, allocations: 174.7 kB / 406.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.3279, allocations: 94.39 kB / 406.7 MB, free: 9.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.339, allocations: 3.873 MB / 410.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.3391, allocations: 34.56 kB / 410.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.414e-06/0.3391, allocations: 3.938 kB / 410.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.00668/0.3458, allocations: 1.42 MB / 412 MB, free: 4.934 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.3459, allocations: 51.41 kB / 412.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.3462, allocations: 262.5 kB / 412.3 MB, free: 4.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.3463, allocations: 33.7 kB / 412.4 MB, free: 4.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.3464, allocations: 184.1 kB / 412.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.471e-05/0.3465, allocations: 86.73 kB / 412.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.3466, allocations: 73.61 kB / 412.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3468, allocations: 338.8 kB / 413 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.347, allocations: 91.91 kB / 413.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.3473, allocations: 194.9 kB / 413.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.3477, allocations: 307.5 kB / 413.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3477, allocations: 0 / 413.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000726/0.3484, allocations: 390.7 kB / 414 MB, free: 2.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3485, allocations: 4 kB / 414 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3485, allocations: 7.938 kB / 414 MB, free: 2.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00425/0.3527, allocations: 0.9428 MB / 414.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.353, allocations: 63.91 kB / 415 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.3549, allocations: 1.985 MB / 417 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.3551, allocations: 12 kB / 417 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.3552, allocations: 12 kB / 417 MB, free: 15.64 MB / 334.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.0001969/0.3554, allocations: 163.1 kB / 417.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.3554, allocations: 31.64 kB / 417.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.3562, allocations: 498.2 kB / 417.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.3563, allocations: 7.984 kB / 417.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.3563, allocations: 0 / 417.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007484/0.357, allocations: 0.716 MB / 418.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.3584, allocations: 0.9431 MB / 419.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.3584, allocations: 4 kB / 419.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.3586, allocations: 47.91 kB / 419.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001789/0.3604, allocations: 320.4 kB / 419.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/0.3605, allocations: 4 kB / 419.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005614/0.361, allocations: 0.6498 MB / 420.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3611, allocations: 0 / 420.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009698/0.362, allocations: 0.717 MB / 421.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3622, allocations: 112.6 kB / 421.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.3622, allocations: 11.94 kB / 421.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.3624, allocations: 4 kB / 421.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.3624, allocations: 19.91 kB / 421.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.3625, allocations: 16.06 kB / 421.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.3627, allocations: 186 kB / 421.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3627, allocations: 0 / 421.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007558/0.3634, allocations: 187.9 kB / 421.6 MB, free: 10.79 MB / 334.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.0005996/0.3641, allocations: 269 kB / 421.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009069/0.365, allocations: 458.9 kB / 422.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.365, allocations: 4 kB / 422.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005275/0.3655, allocations: 235.8 kB / 422.6 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3665, allocations: 180.4 kB / 422.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.3679, allocations: 0.8201 MB / 423.6 MB, free: 8.797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.3684, allocations: 0.776 MB / 424.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.3685, allocations: 31.44 kB / 424.4 MB, free: 7.965 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3685, allocations: 0 / 424.4 MB, free: 7.965 MB / 334.1 MB Notification: Performance of Templates: time 0.01311/0.3816, allocations: 8.388 MB / 432.7 MB, free: 15.58 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches