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.001235/0.001235, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001325/0.001325, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.455/1.455, allocations: 230.4 MB / 254.7 MB, free: 15.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 59.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1048, allocations: 53.38 MB / 427.1 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2267/0.3315, allocations: 27.23 MB / 454.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004375/0.3359, allocations: 4.179 MB / 458.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.3361, allocations: 6.531 kB / 458.5 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.3368, allocations: 209.4 kB / 458.7 MB, free: 7.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000705/0.3375, allocations: 342.7 kB / 459 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.3421, allocations: 1.473 MB / 460.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.3434, allocations: 0.887 MB / 461.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.3436, allocations: 72.95 kB / 461.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00656/0.3502, allocations: 4.082 MB / 465.5 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.3506, allocations: 301.4 kB / 465.8 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.627e-05/0.3507, allocations: 30.97 kB / 465.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001555/0.3522, allocations: 0.738 MB / 466.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.3523, allocations: 91.09 kB / 466.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.3525, allocations: 190.5 kB / 466.9 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.3538, allocations: 0.8522 MB / 467.7 MB, free: 6.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3538, allocations: 4.703 kB / 467.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3538, allocations: 0 / 467.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3538, allocations: 0 / 467.7 MB, free: 6.379 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.0008801/0.3547, allocations: 0.661 MB / 468.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3547, allocations: 10.38 kB / 468.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.099e-05/0.3548, allocations: 6.281 kB / 468.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.491e-05/0.3548, allocations: 62.78 kB / 468.5 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.3552, allocations: 59.62 kB / 468.5 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.3556, allocations: 292 kB / 468.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.3556, allocations: 20.11 kB / 468.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.3557, allocations: 30.36 kB / 468.9 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.3561, allocations: 343.2 kB / 469.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.3562, allocations: 1.656 kB / 469.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.3562, allocations: 11.19 kB / 469.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3562, allocations: 7.469 kB / 469.2 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.3565, allocations: 207.4 kB / 469.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0114/0.3679, allocations: 5.926 MB / 475.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.3682, allocations: 168 kB / 475.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.3683, allocations: 81.38 kB / 475.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009899/0.3782, allocations: 3.881 MB / 479.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.561e-05/0.3783, allocations: 36.81 kB / 479.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.234e-06/0.3783, allocations: 3.938 kB / 479.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006379/0.3846, allocations: 1.41 MB / 480.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3847, allocations: 53.59 kB / 481 MB, free: 13.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.385, allocations: 266.9 kB / 481.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.385, allocations: 30.8 kB / 481.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.3852, allocations: 195.6 kB / 481.5 MB, free: 13.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.335e-05/0.3853, allocations: 102.3 kB / 481.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3854, allocations: 63.55 kB / 481.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3855, allocations: 337.5 kB / 481.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.3857, allocations: 94.55 kB / 482 MB, free: 13.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.3859, allocations: 185.1 kB / 482.2 MB, free: 12.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.3863, allocations: 308 kB / 482.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3863, allocations: 1.312 kB / 482.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007244/0.3871, allocations: 401.1 kB / 482.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3871, allocations: 7.094 kB / 482.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3871, allocations: 2.5 kB / 482.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004064/0.3911, allocations: 0.9316 MB / 483.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.3914, allocations: 65.31 kB / 483.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.3931, allocations: 1.979 MB / 485.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.3934, allocations: 11.66 kB / 485.9 MB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.3934, allocations: 16.45 kB / 485.9 MB, free: 9.949 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.0002106/0.3936, allocations: 166.1 kB / 486.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.3937, allocations: 25.3 kB / 486.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007613/0.3944, allocations: 491.2 kB / 486.6 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3944, allocations: 3.562 kB / 486.6 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3944, allocations: 1.406 kB / 486.6 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007334/0.3952, allocations: 0.7155 MB / 487.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.3965, allocations: 0.9513 MB / 488.3 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.3965, allocations: 1.062 kB / 488.3 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.3967, allocations: 42.31 kB / 488.3 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.3984, allocations: 319 kB / 488.6 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/0.3984, allocations: 6.406 kB / 488.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005924/0.399, allocations: 0.6492 MB / 489.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.399, allocations: 0 / 489.3 MB, free: 7.367 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4001, allocations: 0.7262 MB / 490 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.4002, allocations: 100.8 kB / 490.1 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.4003, allocations: 10.09 kB / 490.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4004, allocations: 6.062 kB / 490.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.4005, allocations: 16.09 kB / 490.1 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.4005, allocations: 15.11 kB / 490.1 MB, free: 6.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.4007, allocations: 180.2 kB / 490.3 MB, free: 6.637 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4007, allocations: 1.812 kB / 490.3 MB, free: 6.637 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009435/0.4017, allocations: 192.2 kB / 490.5 MB, free: 6.598 MB / 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.002003/0.4037, allocations: 1.426 MB / 491.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008763/0.4045, allocations: 445.5 kB / 492.4 MB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4045, allocations: 3.938 kB / 492.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005258/0.4051, allocations: 221.3 kB / 492.6 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4061, allocations: 169.2 kB / 492.8 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.4105, allocations: 3.343 MB / 496.1 MB, free: 2.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.4109, allocations: 0.7788 MB / 496.9 MB, free: 1.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.4112, allocations: 55.28 kB / 496.9 MB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.4113, allocations: 101.4 kB / 497 MB, free: 1.719 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4113, allocations: 0 / 497 MB, free: 1.719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.4481, allocations: 13.53 MB / 0.4986 GB, free: 5.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.54, allocations: 4.062 kB / 0.4986 GB, free: 5.391 MB / 398.1 MB " [Timeout remaining time 647] (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/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_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: 17.482079511042684]