Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001236/0.001236, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005957/0.005957, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8338/0.8338, allocations: 158.6 MB / 186.5 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.649e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1726/0.1726, allocations: 45.46 MB / 343.9 MB, free: 1.332 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.177, allocations: 4.69 MB / 348.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.1772, allocations: 7.938 kB / 348.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.1779, allocations: 250.4 kB / 348.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005749/0.1785, allocations: 377.5 kB / 349.2 MB, free: 12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01602/0.1945, allocations: 6.866 MB / 356.1 MB, free: 5.121 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.1957, allocations: 1.099 MB / 357.2 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.1959, allocations: 99.17 kB / 357.3 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.1998, allocations: 3.767 MB / 361 MB, free: 148 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004043/0.2003, allocations: 379 kB / 361.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.2003, allocations: 60 kB / 361.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01386/0.2142, allocations: 9.202 MB / 370.7 MB, free: 6.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.2145, allocations: 251.3 kB / 370.9 MB, free: 6.254 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006839/0.2152, allocations: 235.6 kB / 371.2 MB, free: 6.023 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.2263, allocations: 6.649 MB / 377.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2263, allocations: 4 kB / 377.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2263, allocations: 0 / 377.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2263, allocations: 0 / 377.8 MB, free: 15.36 MB / 346.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.002376/0.2287, allocations: 1.308 MB / 379.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.2287, allocations: 11.98 kB / 379.1 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.876e-05/0.2288, allocations: 82.52 kB / 379.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.229, allocations: 63.72 kB / 379.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.2294, allocations: 308.2 kB / 379.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.2294, allocations: 37 kB / 379.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.2294, allocations: 43.95 kB / 379.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008586/0.2303, allocations: 0.8971 MB / 380.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.2303, allocations: 0 / 380.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.2303, allocations: 20 kB / 380.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2303, allocations: 13.31 kB / 380.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007956/0.2311, allocations: 0.7378 MB / 381.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005975/0.2371, allocations: 3.67 MB / 385 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.2382, allocations: 0.4992 MB / 385.5 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.2385, allocations: 250.2 kB / 385.7 MB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004647/0.2431, allocations: 2.565 MB / 388.3 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.2431, allocations: 39.06 kB / 388.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 1.943e-06/0.2431, allocations: 0 / 388.3 MB, free: 4.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.003142/0.2463, allocations: 1.897 MB / 390.2 MB, free: 2.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.2463, allocations: 59.91 kB / 390.3 MB, free: 2.613 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.2466, allocations: 324.1 kB / 390.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2466, allocations: 37.7 kB / 390.6 MB, free: 2.246 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2467, allocations: 208.7 kB / 390.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.2468, allocations: 198.3 kB / 391 MB, free: 1.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.2469, allocations: 118.2 kB / 391.2 MB, free: 1.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.247, allocations: 346.8 kB / 391.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.2473, allocations: 241.2 kB / 391.7 MB, free: 1.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004003/0.2477, allocations: 348.3 kB / 392.1 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.2487, allocations: 0.589 MB / 392.7 MB, free: 144 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2487, allocations: 8 kB / 392.7 MB, free: 136 kB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00118/0.2499, allocations: 0.7574 MB / 393.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2499, allocations: 4 kB / 393.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2499, allocations: 4 kB / 393.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.2502, allocations: 110.7 kB / 393.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.2505, allocations: 127.8 kB / 393.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.2521, allocations: 3.249 MB / 396.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2522, allocations: 20.03 kB / 396.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.2523, allocations: 27.98 kB / 397 MB, free: 11.56 MB / 362.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.0001614/0.2524, allocations: 193.6 kB / 397.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.2526, allocations: 43.77 kB / 397.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009555/0.2535, allocations: 0.8166 MB / 398 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2535, allocations: 4 kB / 398 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.2535, allocations: 4.094 kB / 398 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006949/0.2542, allocations: 0.7689 MB / 398.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.2558, allocations: 1.189 MB / 400 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2558, allocations: 0 / 400 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.256, allocations: 103.8 kB / 400.1 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.2564, allocations: 148.7 kB / 400.2 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.2565, allocations: 15.98 kB / 400.2 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000266/0.2567, allocations: 0.6484 MB / 400.9 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2567, allocations: 0 / 400.9 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.2578, allocations: 0.9151 MB / 401.8 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.2578, allocations: 35.86 kB / 401.8 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.2579, allocations: 19.98 kB / 401.9 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.2581, allocations: 20.06 kB / 401.9 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.2581, allocations: 36.44 kB / 401.9 MB, free: 6.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.2582, allocations: 35.92 kB / 401.9 MB, free: 6.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002044/0.2584, allocations: 259 kB / 402.2 MB, free: 6.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2584, allocations: 0 / 402.2 MB, free: 6.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003065/0.2614, allocations: 1.317 MB / 403.5 MB, free: 4.781 MB / 362.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.004977/0.2664, allocations: 3.228 MB / 406.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.2677, allocations: 0.7818 MB / 407.5 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2677, allocations: 3.938 kB / 407.5 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.268, allocations: 287.5 kB / 407.8 MB, free: 428 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.2688, allocations: 272.3 kB / 408.1 MB, free: 160 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005187/0.2739, allocations: 5.263 MB / 413.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.2741, allocations: 233.6 kB / 413.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.2744, allocations: 136.2 kB / 413.7 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.2746, allocations: 160.4 kB / 413.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of SimCode: time 7.01e-07/0.2746, allocations: 0 / 413.9 MB, free: 10.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06503/0.3396, allocations: 53.91 MB / 467.8 MB, free: 4.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.66/10, allocations: 7.766 kB / 467.8 MB, free: 4.082 MB / 426.7 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.327784315682948]