Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 186.8 kB / 24.49 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 47.92 kB / 371.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2208, allocations: 52.18 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05455/0.2754, allocations: 45.37 MB / 468.7 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006467/0.2818, allocations: 4.686 MB / 473.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.2821, allocations: 7.938 kB / 473.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007672/0.2829, allocations: 230.6 kB / 473.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007907/0.2837, allocations: 373.9 kB / 474 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01717/0.3009, allocations: 7.117 MB / 481.1 MB, free: 4.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.3023, allocations: 1.111 MB / 482.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.3026, allocations: 101.9 kB / 482.3 MB, free: 3.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006735/0.3093, allocations: 3.599 MB / 485.9 MB, free: 15.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006475/0.3099, allocations: 434.5 kB / 486.4 MB, free: 15.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.31, allocations: 56 kB / 486.4 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01658/0.3266, allocations: 9.607 MB / 496 MB, free: 5.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.327, allocations: 223.4 kB / 496.2 MB, free: 5.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004054/0.3274, allocations: 271.2 kB / 496.5 MB, free: 5.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.3393, allocations: 5.437 MB / 0.4902 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3393, allocations: 0 / 0.4902 GB, free: 15.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3393, allocations: 3.938 kB / 0.4902 GB, free: 15.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.3393, allocations: 0 / 0.4902 GB, free: 15.61 MB / 414.1 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.003218/0.3425, allocations: 1.312 MB / 0.4915 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3426, allocations: 12.03 kB / 0.4915 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.854e-05/0.3426, allocations: 17 kB / 0.4915 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.3427, allocations: 86.45 kB / 0.4916 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.343, allocations: 67.64 kB / 0.4916 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.3435, allocations: 305.3 kB / 0.4919 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.3436, allocations: 33 kB / 0.492 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.104e-05/0.3437, allocations: 40 kB / 0.492 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.3451, allocations: 0.8971 MB / 0.4929 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3451, allocations: 4 kB / 0.4929 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.3452, allocations: 24 kB / 0.4929 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3452, allocations: 8 kB / 0.4929 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.3466, allocations: 0.7534 MB / 0.4936 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01266/0.3592, allocations: 3.65 MB / 0.4972 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.3605, allocations: 0.5036 MB / 0.4977 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.3609, allocations: 251.7 kB / 0.4979 GB, free: 7.457 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.3715, allocations: 2.573 MB / 0.5005 GB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.3715, allocations: 46.98 kB / 0.5005 GB, free: 4.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 2.825e-06/0.3715, allocations: 0 / 0.5005 GB, free: 4.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.005811/0.3773, allocations: 1.905 MB / 0.5024 GB, free: 2.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3774, allocations: 55.91 kB / 0.5024 GB, free: 2.812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.3778, allocations: 312.2 kB / 0.5027 GB, free: 2.504 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.3778, allocations: 45.62 kB / 0.5028 GB, free: 2.453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.378, allocations: 204.7 kB / 0.503 GB, free: 2.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.3782, allocations: 202.3 kB / 0.5031 GB, free: 2.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.3783, allocations: 110.3 kB / 0.5033 GB, free: 1.938 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3785, allocations: 346.8 kB / 0.5036 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.3789, allocations: 241.2 kB / 0.5038 GB, free: 1.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/0.3795, allocations: 344.3 kB / 0.5041 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/0.3807, allocations: 0.6034 MB / 0.5047 GB, free: 356 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3807, allocations: 0 / 0.5047 GB, free: 356 kB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001859/0.3826, allocations: 0.7674 MB / 0.5055 GB, free: 15.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3826, allocations: 8 kB / 0.5055 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3826, allocations: 0 / 0.5055 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004878/0.3831, allocations: 106.5 kB / 0.5056 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.3836, allocations: 128.1 kB / 0.5057 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.3862, allocations: 3.261 MB / 0.5089 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/0.3865, allocations: 12.41 kB / 0.5089 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/0.3866, allocations: 39.98 kB / 0.5089 GB, free: 11.75 MB / 430.1 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.0002709/0.3868, allocations: 185.6 kB / 0.5091 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.3871, allocations: 51.75 kB / 0.5092 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.3888, allocations: 0.8151 MB / 0.51 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.3888, allocations: 4 kB / 0.51 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3888, allocations: 0 / 0.51 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/0.3899, allocations: 0.7635 MB / 0.5107 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.392, allocations: 1.18 MB / 0.5119 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.392, allocations: 0 / 0.5119 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004513/0.3924, allocations: 107.8 kB / 0.512 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000954/0.3934, allocations: 156.7 kB / 0.5121 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.255e-05/0.3934, allocations: 16 kB / 0.5121 GB, free: 8.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004559/0.3939, allocations: 0.6367 MB / 0.5128 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3939, allocations: 4.031 kB / 0.5128 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.3956, allocations: 0.9092 MB / 0.5137 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3957, allocations: 51.67 kB / 0.5137 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.474e-05/0.3958, allocations: 15.94 kB / 0.5137 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.3962, allocations: 24.08 kB / 0.5137 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.3962, allocations: 36.31 kB / 0.5138 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/0.3963, allocations: 31.97 kB / 0.5138 GB, free: 6.551 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.3966, allocations: 255 kB / 0.514 GB, free: 6.305 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3966, allocations: 0 / 0.514 GB, free: 6.305 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003548/0.4001, allocations: 1.329 MB / 0.5153 GB, free: 4.973 MB / 430.1 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.007842/0.408, allocations: 3.042 MB / 0.5183 GB, free: 1.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4096, allocations: 0.7768 MB / 0.5191 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4096, allocations: 0 / 0.5191 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.4102, allocations: 279.2 kB / 0.5193 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.4116, allocations: 281.3 kB / 0.5196 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009092/0.4207, allocations: 5.318 MB / 0.5248 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.4209, allocations: 237.5 kB / 0.525 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005237/0.4214, allocations: 148.2 kB / 0.5252 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.4217, allocations: 155.4 kB / 0.5253 GB, free: 10.49 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4217, allocations: 0 / 0.5253 GB, free: 10.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2644/0.6861, allocations: 51.91 MB / 0.576 GB, free: 78.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.53, allocations: 24.16 kB / 0.576 GB, free: 78.11 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 31.420425681048073]