Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008229/0.0008229, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8547/0.8547, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.48e-05, allocations: 4.812 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03184/0.03186, allocations: 45.43 MB / 370 MB, free: 2.203 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003864/0.03573, allocations: 4.697 MB / 374.7 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.03596, allocations: 7.938 kB / 374.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006289/0.03659, allocations: 238.5 kB / 374.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.03709, allocations: 385.5 kB / 375.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01284/0.04993, allocations: 7.203 MB / 382.5 MB, free: 5.664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.0511, allocations: 1.103 MB / 383.6 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.05129, allocations: 97.83 kB / 383.7 MB, free: 4.457 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.05552, allocations: 3.767 MB / 387.5 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.05595, allocations: 379 kB / 387.9 MB, free: 324 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.05601, allocations: 60 kB / 387.9 MB, free: 264 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.06755, allocations: 9.353 MB / 397.3 MB, free: 6.891 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.0678, allocations: 251.3 kB / 397.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002982/0.0681, allocations: 235.6 kB / 397.7 MB, free: 6.414 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.07831, allocations: 6.696 MB / 404.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.07832, allocations: 4 kB / 404.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.07832, allocations: 3.938 kB / 404.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.07833, allocations: 0 / 404.5 MB, free: 15.7 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002516/0.08085, allocations: 1.323 MB / 405.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.08089, allocations: 8.031 kB / 405.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.69e-05/0.08097, allocations: 86.52 kB / 405.9 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.08119, allocations: 59.7 kB / 405.9 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.08157, allocations: 308.4 kB / 406.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.08159, allocations: 29 kB / 406.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.08164, allocations: 44 kB / 406.3 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009127/0.08256, allocations: 0.8971 MB / 407.2 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.08257, allocations: 7.984 kB / 407.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.08261, allocations: 16 kB / 407.2 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.08262, allocations: 12 kB / 407.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.08343, allocations: 0.7378 MB / 408 MB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006431/0.08986, allocations: 3.654 MB / 411.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008124/0.09067, allocations: 0.4892 MB / 412.1 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.09091, allocations: 250.2 kB / 412.4 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00459/0.0955, allocations: 2.561 MB / 414.9 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.09553, allocations: 43.06 kB / 415 MB, free: 4.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.445e-06/0.09553, allocations: 0 / 415 MB, free: 4.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003449/0.09898, allocations: 1.896 MB / 416.9 MB, free: 3.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.09902, allocations: 55.91 kB / 416.9 MB, free: 2.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.09927, allocations: 328.1 kB / 417.2 MB, free: 2.633 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.09931, allocations: 37.7 kB / 417.3 MB, free: 2.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.09941, allocations: 204.8 kB / 417.5 MB, free: 2.383 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.09951, allocations: 202.2 kB / 417.7 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.09963, allocations: 114.3 kB / 417.8 MB, free: 2.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.09973, allocations: 346.8 kB / 418.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.09998, allocations: 237.2 kB / 418.3 MB, free: 1.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.1004, allocations: 344.3 kB / 418.7 MB, free: 1.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.1011, allocations: 0.5968 MB / 419.3 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1011, allocations: 0 / 419.3 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001039/0.1021, allocations: 0.7573 MB / 420 MB, free: 15.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1021, allocations: 8.281 kB / 420 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1021, allocations: 12 kB / 420.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002703/0.1024, allocations: 102.5 kB / 420.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.1027, allocations: 131.7 kB / 420.3 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.1042, allocations: 3.262 MB / 423.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1044, allocations: 12 kB / 423.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.1044, allocations: 31.98 kB / 423.6 MB, free: 11.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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 {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.1046, allocations: 193.6 kB / 423.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.1048, allocations: 44.02 kB / 423.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000925/0.1057, allocations: 0.8282 MB / 424.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1057, allocations: 4 kB / 424.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.1057, allocations: 0 / 424.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006715/0.1064, allocations: 0.761 MB / 425.4 MB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.1077, allocations: 1.177 MB / 426.6 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1077, allocations: 0 / 426.6 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.1079, allocations: 99.83 kB / 426.7 MB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.1083, allocations: 152.7 kB / 426.8 MB, free: 8.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.1084, allocations: 19.98 kB / 426.9 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002685/0.1086, allocations: 0.6523 MB / 427.5 MB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1086, allocations: 4 kB / 427.5 MB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.1097, allocations: 0.9033 MB / 428.4 MB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.1097, allocations: 43.8 kB / 428.5 MB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.1098, allocations: 12 kB / 428.5 MB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.11, allocations: 23.97 kB / 428.5 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.11, allocations: 32.44 kB / 428.5 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.11, allocations: 27.98 kB / 428.6 MB, free: 6.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1102, allocations: 255 kB / 428.8 MB, free: 6.469 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1102, allocations: 4.094 kB / 428.8 MB, free: 6.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002681/0.1129, allocations: 1.348 MB / 430.2 MB, free: 5.113 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005104/0.118, allocations: 3.215 MB / 433.4 MB, free: 1.859 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009456/0.119, allocations: 0.7776 MB / 434.1 MB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.119, allocations: 0 / 434.1 MB, free: 1.051 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.1193, allocations: 275.5 kB / 434.4 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/0.1201, allocations: 284.2 kB / 434.7 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005767/0.1259, allocations: 5.269 MB / 440 MB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.126, allocations: 233.6 kB / 440.2 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.1264, allocations: 140.2 kB / 440.3 MB, free: 10.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.1265, allocations: 164.4 kB / 440.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.1265, allocations: 0 / 440.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1851/0.3117, allocations: 52.61 MB / 493.1 MB, free: 81.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.618/8.929, allocations: 4.062 kB / 493.1 MB, free: 81.97 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 18.74829475209117]