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.001401/0.001401, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.00158/0.00158, allocations: 183 kB / 18.66 MB, free: 4.414 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.351/1.351, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001148/0.001148, allocations: 47.94 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08978, allocations: 46.62 MB / 375.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.211/0.3008, allocations: 27.03 MB / 402.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005905/0.3068, allocations: 4.167 MB / 406.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.3072, allocations: 4.375 kB / 406.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.3082, allocations: 210.4 kB / 406.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.3092, allocations: 345.9 kB / 406.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005657/0.3149, allocations: 1.466 MB / 408.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.3164, allocations: 0.888 MB / 409.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.3167, allocations: 110.8 kB / 409.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007378/0.3241, allocations: 4.055 MB / 413.4 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004667/0.3246, allocations: 275.7 kB / 413.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.3247, allocations: 30.62 kB / 413.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.3266, allocations: 0.7261 MB / 414.5 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.3267, allocations: 91.69 kB / 414.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.327, allocations: 194.9 kB / 414.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.3283, allocations: 0.8482 MB / 415.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3284, allocations: 0 / 415.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3284, allocations: 4 kB / 415.6 MB, free: 4.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3284, allocations: 0 / 415.6 MB, free: 4.543 MB / 334.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.001079/0.3295, allocations: 0.6407 MB / 416.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3295, allocations: 13.8 kB / 416.2 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000474/0.33, allocations: 52.73 kB / 416.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.3305, allocations: 298.2 kB / 416.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.3305, allocations: 24 kB / 416.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.3306, allocations: 29.81 kB / 416.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005742/0.3312, allocations: 339.7 kB / 417 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3312, allocations: 1.094 kB / 417 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.762e-05/0.3312, allocations: 12.09 kB / 417 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3313, allocations: 7.531 kB / 417 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.3316, allocations: 214.3 kB / 417.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.3444, allocations: 5.913 MB / 423.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.3448, allocations: 174.4 kB / 423.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.345, allocations: 90.27 kB / 423.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.3553, allocations: 3.889 MB / 427.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/0.3553, allocations: 42.5 kB / 427.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.3554, allocations: 0 / 427.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006362/0.3617, allocations: 1.416 MB / 428.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.3618, allocations: 59.34 kB / 428.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3621, allocations: 254.6 kB / 429 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.3621, allocations: 29.7 kB / 429 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3622, allocations: 188 kB / 429.2 MB, free: 8.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.3623, allocations: 94.66 kB / 429.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.3624, allocations: 65.69 kB / 429.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3626, allocations: 338.8 kB / 429.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3627, allocations: 95.75 kB / 429.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/0.3629, allocations: 182.9 kB / 430 MB, free: 7.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.3633, allocations: 303 kB / 430.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.3634, allocations: 4 kB / 430.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006809/0.364, allocations: 402.6 kB / 430.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3641, allocations: 8 kB / 430.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3641, allocations: 4 kB / 430.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003847/0.3679, allocations: 0.9264 MB / 431.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.3682, allocations: 75.89 kB / 431.7 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.3698, allocations: 1.983 MB / 433.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.3701, allocations: 8 kB / 433.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.3701, allocations: 19.56 kB / 433.7 MB, free: 3.77 MB / 350.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.000211/0.3703, allocations: 151.1 kB / 433.9 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.467e-05/0.3704, allocations: 35.56 kB / 433.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007413/0.3712, allocations: 0.4948 MB / 434.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.3712, allocations: 4 kB / 434.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3712, allocations: 0 / 434.4 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006294/0.3718, allocations: 0.7127 MB / 435.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.3731, allocations: 0.9457 MB / 436 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3731, allocations: 0 / 436 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.3733, allocations: 44.02 kB / 436.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.375, allocations: 320.2 kB / 436.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.768e-05/0.375, allocations: 8 kB / 436.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004824/0.3755, allocations: 0.646 MB / 437.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3755, allocations: 0 / 437.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008963/0.3764, allocations: 0.7145 MB / 437.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.3766, allocations: 112.6 kB / 437.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.3766, allocations: 8 kB / 437.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.3768, allocations: 4.062 kB / 437.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.3768, allocations: 23.97 kB / 437.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.3769, allocations: 8 kB / 437.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.3771, allocations: 190 kB / 438.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3771, allocations: 0 / 438.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007533/0.3778, allocations: 183.9 kB / 438.3 MB, free: 14.95 MB / 366.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.0005844/0.3784, allocations: 270.8 kB / 438.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000813/0.3792, allocations: 458.2 kB / 439 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3793, allocations: 4 kB / 439 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.3798, allocations: 232.6 kB / 439.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009819/0.3808, allocations: 181.2 kB / 439.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.382, allocations: 0.7843 MB / 440.2 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3824, allocations: 0.7721 MB / 441 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.3826, allocations: 46.95 kB / 441 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.3826, allocations: 31.44 kB / 441 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3826, allocations: 0 / 441 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01513/0.3978, allocations: 9.998 MB / 451 MB, free: 2.105 MB / 366.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","/var/lib/jenkins/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