Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 118.7 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 210.5 kB / 21.46 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 230.2 MB / 254.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003309/0.003309, allocations: 63.89 kB / 373.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1144, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2053/0.3197, allocations: 27.22 MB / 453.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005048/0.3248, allocations: 4.186 MB / 458.1 MB, free: 7.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.325, allocations: 7.75 kB / 458.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.3256, allocations: 207.7 kB / 458.3 MB, free: 7.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006444/0.3263, allocations: 341.5 kB / 458.6 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004346/0.3306, allocations: 1.477 MB / 460.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3317, allocations: 0.8819 MB / 461 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.3319, allocations: 76.05 kB / 461.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00612/0.338, allocations: 4.077 MB / 465.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.3384, allocations: 291.2 kB / 465.4 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.86e-05/0.3384, allocations: 31.19 kB / 465.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001682/0.3401, allocations: 0.7287 MB / 466.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.3403, allocations: 97.03 kB / 466.3 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002347/0.3405, allocations: 194.1 kB / 466.5 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.3418, allocations: 0.8473 MB / 467.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3418, allocations: 1.125 kB / 467.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3418, allocations: 0 / 467.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3418, allocations: 0 / 467.3 MB, free: 3.617 MB / 366.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.001003/0.3428, allocations: 0.6662 MB / 468 MB, free: 3.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3429, allocations: 13.19 kB / 468 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.724e-05/0.3429, allocations: 61.55 kB / 468.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004455/0.3434, allocations: 57.16 kB / 468.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.3439, allocations: 293.6 kB / 468.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.3439, allocations: 21.03 kB / 468.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.045e-05/0.3439, allocations: 29.09 kB / 468.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.3444, allocations: 341.4 kB / 468.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3444, allocations: 1.125 kB / 468.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.3445, allocations: 15.94 kB / 468.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3445, allocations: 10.38 kB / 468.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.3448, allocations: 207.3 kB / 469 MB, free: 2.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.3578, allocations: 5.923 MB / 474.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003167/0.3582, allocations: 173 kB / 475.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.3583, allocations: 85.55 kB / 475.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.3687, allocations: 3.878 MB / 479.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.3688, allocations: 38.03 kB / 479.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.3688, allocations: 3.938 kB / 479.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006027/0.3748, allocations: 1.418 MB / 480.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3749, allocations: 57.06 kB / 480.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.3752, allocations: 262.7 kB / 480.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3752, allocations: 31.08 kB / 480.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3753, allocations: 183.6 kB / 481 MB, free: 9.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.527e-05/0.3754, allocations: 99.53 kB / 481.1 MB, free: 9.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.977e-05/0.3755, allocations: 71.77 kB / 481.2 MB, free: 9.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3756, allocations: 336.3 kB / 481.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3758, allocations: 90.72 kB / 481.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.376, allocations: 197.7 kB / 481.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.3764, allocations: 310.3 kB / 482.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3764, allocations: 1.375 kB / 482.1 MB, free: 8.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006626/0.3771, allocations: 392.8 kB / 482.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3771, allocations: 7.188 kB / 482.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3771, allocations: 3.562 kB / 482.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003984/0.3811, allocations: 0.9314 MB / 483.4 MB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.3814, allocations: 67.91 kB / 483.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.3831, allocations: 1.977 MB / 485.5 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.3833, allocations: 12 kB / 485.5 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.3833, allocations: 12 kB / 485.5 MB, free: 5.168 MB / 382.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.0001759/0.3835, allocations: 157.7 kB / 485.7 MB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.3835, allocations: 35.75 kB / 485.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007401/0.3843, allocations: 486.2 kB / 486.2 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3843, allocations: 4 kB / 486.2 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.3843, allocations: 4.062 kB / 486.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006974/0.385, allocations: 0.7124 MB / 486.9 MB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.3863, allocations: 0.9386 MB / 487.8 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.3863, allocations: 0 / 487.8 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.3865, allocations: 43.92 kB / 487.9 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/0.3882, allocations: 328.3 kB / 488.2 MB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.3882, allocations: 11.94 kB / 488.2 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005323/0.3887, allocations: 0.6421 MB / 488.9 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3887, allocations: 4 kB / 488.9 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009824/0.3897, allocations: 0.7222 MB / 489.6 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.3898, allocations: 106.1 kB / 489.7 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.3898, allocations: 4.562 kB / 489.7 MB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.39, allocations: 8 kB / 489.7 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.39, allocations: 15.97 kB / 489.7 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.3901, allocations: 12.06 kB / 489.7 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.3902, allocations: 193.8 kB / 489.9 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3902, allocations: 0 / 489.9 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006954/0.3909, allocations: 195.7 kB / 490.1 MB, free: 340 kB / 382.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.001722/0.3927, allocations: 1.422 MB / 491.5 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007998/0.3935, allocations: 451 kB / 492 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3935, allocations: 4 kB / 492 MB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.394, allocations: 216.7 kB / 492.2 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009005/0.3949, allocations: 168.1 kB / 492.3 MB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.3991, allocations: 3.342 MB / 495.7 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.3995, allocations: 0.776 MB / 496.5 MB, free: 9.754 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.3997, allocations: 49.84 kB / 496.5 MB, free: 9.707 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.3998, allocations: 103.4 kB / 496.6 MB, free: 9.605 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3998, allocations: 4 kB / 496.6 MB, free: 9.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0414/0.4412, allocations: 13.49 MB / 0.4981 GB, free: 12.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.39, allocations: 4.062 kB / 0.4982 GB, free: 12.22 MB / 414.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.950552988797426]