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.0008112/0.0008112, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008184/0.0008184, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8612/0.8612, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.084e-05, allocations: 2.281 kB / 324.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01601/0.01603, allocations: 24.46 MB / 349 MB, free: 7.293 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.01917, allocations: 3.754 MB / 352.7 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.01939, allocations: 11.94 kB / 352.8 MB, free: 3.512 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.01995, allocations: 194.7 kB / 352.9 MB, free: 3.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.02049, allocations: 365.6 kB / 353.3 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00308/0.02357, allocations: 1.492 MB / 354.8 MB, free: 1.465 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007773/0.02434, allocations: 0.9099 MB / 355.7 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.02451, allocations: 64.89 kB / 355.8 MB, free: 500 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004052/0.02857, allocations: 4.279 MB / 360 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.02885, allocations: 251.2 kB / 360.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.02889, allocations: 32 kB / 360.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008674/0.02976, allocations: 0.6945 MB / 361 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.02986, allocations: 103.6 kB / 361.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.02998, allocations: 151.7 kB / 361.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009956/0.03097, allocations: 0.9702 MB / 362.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.03098, allocations: 0 / 362.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.03098, allocations: 0 / 362.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.03099, allocations: 0 / 362.2 MB, free: 10.01 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.0007342/0.03172, allocations: 0.5712 MB / 362.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.03176, allocations: 15.98 kB / 362.8 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/0.03181, allocations: 58.73 kB / 362.9 MB, free: 9.324 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.03207, allocations: 56.72 kB / 362.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.03242, allocations: 237.2 kB / 363.2 MB, free: 9.012 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.03244, allocations: 24.97 kB / 363.2 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.03247, allocations: 28.31 kB / 363.2 MB, free: 8.961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.03287, allocations: 494.4 kB / 363.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.03288, allocations: 192 / 363.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.0329, allocations: 15.94 kB / 363.7 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.03291, allocations: 8 kB / 363.7 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.03313, allocations: 209.8 kB / 363.9 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005792/0.03892, allocations: 4.133 MB / 368.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.03915, allocations: 166.5 kB / 368.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.664e-05/0.03924, allocations: 84.92 kB / 368.3 MB, free: 3.703 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004309/0.04354, allocations: 2.676 MB / 371 MB, free: 1.023 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.04357, allocations: 38.56 kB / 371 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.04358, allocations: 0 / 371 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003312/0.04689, allocations: 1.267 MB / 372.3 MB, free: 15.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.04692, allocations: 55.41 kB / 372.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.04712, allocations: 269.6 kB / 372.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.04714, allocations: 33.7 kB / 372.6 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.04723, allocations: 192.4 kB / 372.8 MB, free: 15.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.04728, allocations: 99.16 kB / 372.9 MB, free: 15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.04735, allocations: 69.69 kB / 373 MB, free: 14.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.04744, allocations: 334.8 kB / 373.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.04755, allocations: 87.97 kB / 373.4 MB, free: 14.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.0477, allocations: 190.8 kB / 373.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.04797, allocations: 311 kB / 373.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.04797, allocations: 0 / 373.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004395/0.04841, allocations: 390.8 kB / 374.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.04843, allocations: 4 kB / 374.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.04844, allocations: 4 kB / 374.3 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.05035, allocations: 0.9352 MB / 375.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.05052, allocations: 75.84 kB / 375.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.05158, allocations: 1.87 MB / 377.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.05171, allocations: 12 kB / 377.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.05173, allocations: 15.98 kB / 377.2 MB, free: 10.5 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.0001318/0.05186, allocations: 150 kB / 377.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.0519, allocations: 31.8 kB / 377.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.05238, allocations: 0.4948 MB / 377.9 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.05238, allocations: 4 kB / 377.9 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.05238, allocations: 0 / 377.9 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004305/0.05282, allocations: 0.7238 MB / 378.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008193/0.05363, allocations: 0.8866 MB / 379.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.05364, allocations: 0 / 379.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.05374, allocations: 43.92 kB / 379.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007735/0.05451, allocations: 328.3 kB / 379.8 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.05454, allocations: 8.047 kB / 379.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003021/0.05484, allocations: 0.6577 MB / 380.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.05484, allocations: 0 / 380.5 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005725/0.05541, allocations: 0.7295 MB / 381.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.05545, allocations: 23.97 kB / 381.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.05548, allocations: 15.94 kB / 381.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.212e-05/0.05557, allocations: 4 kB / 381.3 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.0556, allocations: 19.97 kB / 381.3 MB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.05561, allocations: 11.98 kB / 381.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.05573, allocations: 193.1 kB / 381.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05573, allocations: 0 / 381.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005206/0.05625, allocations: 179.8 kB / 381.7 MB, free: 5.789 MB / 346.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.0012/0.05745, allocations: 1.46 MB / 383.1 MB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000533/0.05799, allocations: 446.1 kB / 383.6 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.05799, allocations: 0.75 kB / 383.6 MB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.05829, allocations: 224.3 kB / 383.8 MB, free: 3.625 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.05884, allocations: 168.2 kB / 384 MB, free: 3.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.06169, allocations: 3.275 MB / 387.2 MB, free: 16 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.06181, allocations: 168.3 kB / 387.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000162/0.06198, allocations: 46.94 kB / 387.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.06208, allocations: 104.5 kB / 387.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.06208, allocations: 4 kB / 387.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.09081, allocations: 14.54 MB / 402.1 MB, free: 1.316 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.037, allocations: 19.22 kB / 402.1 MB, free: 1.301 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/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: 10.425529493950307]