Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002115/0.002115, allocations: 202.8 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007349/0.0007349, allocations: 100.2 kB / 299.9 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000191/0.0001911, allocations: 4 kB / 360.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1748, allocations: 51.41 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02025/0.1951, allocations: 34.05 MB / 446.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004756/0.1999, allocations: 5.889 MB / 452 MB, free: 15.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.2002, allocations: 4 kB / 452 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.2007, allocations: 183 kB / 452.2 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005436/0.2013, allocations: 322.4 kB / 452.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.2046, allocations: 1.235 MB / 453.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.2057, allocations: 1.339 MB / 455.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.2059, allocations: 80.66 kB / 455.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006429/0.2123, allocations: 4.223 MB / 459.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.2127, allocations: 282.8 kB / 459.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.2127, allocations: 16 kB / 459.6 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.214, allocations: 0.6712 MB / 460.3 MB, free: 7.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.2141, allocations: 67.73 kB / 460.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.2143, allocations: 205 kB / 460.6 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.2154, allocations: 0.8297 MB / 461.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2154, allocations: 0 / 461.4 MB, free: 5.914 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2154, allocations: 4 kB / 461.4 MB, free: 5.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2154, allocations: 0 / 461.4 MB, free: 5.91 MB / 330.7 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.0007387/0.2161, allocations: 0.577 MB / 462 MB, free: 5.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2162, allocations: 12.03 kB / 462 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004093/0.2166, allocations: 56.53 kB / 462.1 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2169, allocations: 283.8 kB / 462.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.2169, allocations: 20.88 kB / 462.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.217, allocations: 36.28 kB / 462.4 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.2175, allocations: 334.6 kB / 462.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2175, allocations: 0 / 462.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.2175, allocations: 23.98 kB / 462.7 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2176, allocations: 8 kB / 462.8 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.2179, allocations: 206 kB / 463 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.2295, allocations: 5.9 MB / 468.9 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.2298, allocations: 178.6 kB / 469 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.23, allocations: 84.83 kB / 469.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009621/0.2396, allocations: 3.888 MB / 473 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.2396, allocations: 34.56 kB / 473 MB, free: 9.348 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.2396, allocations: 0 / 473 MB, free: 9.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.005835/0.2455, allocations: 1.427 MB / 474.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2455, allocations: 55.41 kB / 474.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.2458, allocations: 258.6 kB / 474.8 MB, free: 7.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2459, allocations: 29.7 kB / 474.8 MB, free: 7.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.246, allocations: 184.1 kB / 475 MB, free: 7.301 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.246, allocations: 102.6 kB / 475.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.2461, allocations: 4 kB / 475.1 MB, free: 7.195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2462, allocations: 342.8 kB / 475.4 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.2464, allocations: 87.95 kB / 475.5 MB, free: 6.766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.2466, allocations: 175.1 kB / 475.7 MB, free: 6.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.247, allocations: 308 kB / 476 MB, free: 6.215 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.247, allocations: 0 / 476 MB, free: 6.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006965/0.2477, allocations: 393.7 kB / 476.4 MB, free: 5.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2477, allocations: 8 kB / 476.4 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2477, allocations: 4 kB / 476.4 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/0.2509, allocations: 405.7 kB / 476.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.2512, allocations: 75.84 kB / 476.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.2526, allocations: 1.875 MB / 478.7 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.2528, allocations: 28.09 kB / 478.7 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.2529, allocations: 15.94 kB / 478.8 MB, free: 3.254 MB / 346.7 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.0001705/0.253, allocations: 157.7 kB / 478.9 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.2531, allocations: 35.56 kB / 478.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006803/0.2538, allocations: 492.2 kB / 479.4 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2538, allocations: 4 kB / 479.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.2538, allocations: 11.88 kB / 479.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005635/0.2544, allocations: 0.7158 MB / 480.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.2556, allocations: 0.9456 MB / 481.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2556, allocations: 0 / 481.1 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.2558, allocations: 47.92 kB / 481.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001686/0.2575, allocations: 320.3 kB / 481.5 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.2575, allocations: 11.98 kB / 481.5 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000462/0.258, allocations: 0.6421 MB / 482.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.258, allocations: 3.938 kB / 482.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008733/0.2589, allocations: 0.7203 MB / 482.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.259, allocations: 108.7 kB / 482.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.2591, allocations: 11.94 kB / 483 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.2593, allocations: 15.98 kB / 483 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/0.2593, allocations: 15.98 kB / 483 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.2594, allocations: 11.98 kB / 483 MB, free: 14.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.2595, allocations: 186 kB / 483.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.483e-06/0.2596, allocations: 0 / 483.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006337/0.2602, allocations: 187.9 kB / 483.4 MB, free: 14.39 MB / 362.7 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.0006288/0.2608, allocations: 279 kB / 483.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000794/0.2616, allocations: 446.8 kB / 484.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2616, allocations: 0 / 484.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.2621, allocations: 231.8 kB / 484.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009318/0.2631, allocations: 164.4 kB / 484.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2644, allocations: 0.9939 MB / 485.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.2647, allocations: 0.7724 MB / 486.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.2649, allocations: 50.94 kB / 486.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.97e-05/0.265, allocations: 31.44 kB / 486.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.265, allocations: 0 / 486.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01558/0.2806, allocations: 9.569 MB / 495.9 MB, free: 1.91 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches